- 博客(6)
- 收藏
- 关注
原创 Leetcode Top 100 1-10
1 two sum2 Add Two Numbers3 Longest Substring without Repeating Characters4 Median of Two Sorted Arrays5 Longest Palindromic Substring
2021-01-24 13:51:12
102
原创 c++单例模式
单例模式恶汉式#include <bits/stdc++.h>using namespace std;class Singleton{private: Singleton() = default; Singleton(const Singleton& other) = default;public: static Singleton* getInstance(); static Singleton* m_instance; int
2020-10-31 17:47:50
121
转载 arg min,arg mx
arg 是变元(即自变量argument)的英文缩写。arg min 就是使后面这个式子达到最小值时的变量的取值arg max 就是使后面这个式子达到最大值时的变量的取值例如 函数F(x,y):arg min F(x,y)就是指当F(x,y)取得最小值时,变量x,y的取值arg max F(x,y)就是指当F(x,y)取得最大值时,变量x...
2018-12-26 19:45:57
206
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人