摘要:
1.虚函数 纯虚函数区别 2.昨日ms问题 3.※ 观察STL的内部构造 https://juejin.im/post/5a5607166fb9a01cb256d501#heading-0 4.C++ 一般都用{} 花括号初始化
阅读全文
posted @ 2020-02-19 21:46
黑暗尽头的超音速炬火
阅读(106)
推荐(0)
摘要:
机器学习知识点: https://www.jianshu.com/p/d289755e89bb 顶会列表 http://ibillxia.github.io/blog/2013/01/02/ai-top-conferences/ 零碎知识点总结: 1.凸优化 凸优化的容易解决体现在一旦找到了一个局部
阅读全文
posted @ 2020-02-19 12:06
黑暗尽头的超音速炬火
阅读(213)
推荐(0)
摘要:
1.H-index a researcher at least h paper h score input: T test case N Ai output: thought: 好用的模板: Answer: #include <iostream> #include <algorithm> #incl
阅读全文
posted @ 2020-02-18 23:39
黑暗尽头的超音速炬火
阅读(116)
推荐(0)
摘要:
1.unordered_set为何有常数级别查找速度 其实现基础是什么 2. substr有2种用法:假设:string s = "0123456789"; string sub1 = s.substr(5); //只有一个数字5表示从下标为5开始一直到结尾:sub1 = "56789" strin
阅读全文
posted @ 2020-02-18 22:04
黑暗尽头的超音速炬火
阅读(98)
推荐(0)
摘要:
1.IP地址合并问题 2.子串 连续 子序列 不连续 LC334 class Solution { public: bool increasingTriplet(vector<int>& nums) { int min1,min2; min1=min2=INT_MAX; for(auto num:n
阅读全文
posted @ 2020-02-18 06:12
黑暗尽头的超音速炬火
阅读(112)
推荐(0)
摘要:
1.LC346 Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. For example,MovingAverage m
阅读全文
posted @ 2020-02-17 14:38
黑暗尽头的超音速炬火
阅读(112)
推荐(0)
摘要:
1.C++ class 类的用法,什么时候用this-> this 是 C++ 中的一个关键字,也是一个 const 指针,它指向当前对象,通过它可以访问当前对象的所有成员。所谓当前对象,是指正在使用的对象。例如对于stu.show();,stu 就是当前对象,this 就指向 stu。 下面例子是
阅读全文
posted @ 2020-02-17 13:55
黑暗尽头的超音速炬火
阅读(127)
推荐(0)
摘要:
王者之心,金汤玉固,藏污纳垢,豁达快意 #include<bits/bits/stdc++.h> using namespace std; class Solution { public: int shortestDistance(vector<vector<int>>& grid) { //res
阅读全文
posted @ 2020-02-16 23:46
黑暗尽头的超音速炬火
阅读(116)
推荐(0)
摘要:
那些迷惘的,恐惧的,凌乱的日子中,不断飞舞的指尖,是我划破虚无的利剑。XZ哥哥是我的军旗。 0.怎么登录跳板机的服务,比如tensorboard visdom jupyter https://blog.csdn.net/xg123321123/article/details/81153735 1.画
阅读全文
posted @ 2020-02-16 22:06
黑暗尽头的超音速炬火
阅读(172)
推荐(0)
摘要:
/* // Definition for a Node. class Node { public: int val; Node* next; Node* random; Node(int _val) { val = _val; next = NULL; random = NULL; } }; */
阅读全文
posted @ 2020-02-15 19:07
黑暗尽头的超音速炬火
阅读(139)
推荐(0)