Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given1->2->3->4->5->NULLand k =2,return4->5->1->2->3->NUL ...
分类:
其他好文 时间:
2018-09-13 01:17:29
阅读次数:
179
Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is a ...
分类:
其他好文 时间:
2018-09-11 23:51:29
阅读次数:
203
2. Add Two Numbers You are given two non empty linked lists representing two non negative integers. The digits are stored in reverse order and each of ...
分类:
其他好文 时间:
2018-09-07 15:56:30
阅读次数:
152
66. Plus One Given a non empty array of digits representing a non negative integer, plus one to the integer. The digits are stored such that the most ...
分类:
其他好文 时间:
2018-09-06 23:52:54
阅读次数:
242
66、Plus One Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most s ...
分类:
其他好文 时间:
2018-09-06 02:51:35
阅读次数:
127
[抄题]: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example: [暴力解法]: 时间分析: 空间分析: [优化后]: 时间分析: 空 ...
分类:
其他好文 时间:
2018-09-05 08:58:49
阅读次数:
149
转自:watersink 1, Bootstrapping,hard negative mining最原始的一种方法,主要使用在传统的机器学习方法中。比如,训练cascade类型分类模型的时候,可以将每一级分类错误的样本继续添加进下一层进行训练。 比如,SVM分类中去掉那些离分界线较远的样本,只保留 ...
分类:
其他好文 时间:
2018-09-03 02:32:56
阅读次数:
518
Given a non empty array of digits representing a non negative integer, plus one to the integer. The digits are stored such that the most significant d ...
分类:
其他好文 时间:
2018-09-02 18:54:04
阅读次数:
191
知识复习 空间亚线性算法:由于大数据算法中涉及到的数据是海量的,数据难以放入内存计算,所以一种常用的处理办法是不对全部数据进行计算,而只向内存里放入小部分数据,仅使用内存中的小部分数据,就可以得到一个有质量保证的结果。数据流算法:是指数据源源不断地到来,根据到来的数据返回相应的部分结果。适用于两种情 ...
分类:
其他好文 时间:
2018-09-02 14:31:49
阅读次数:
169
【600】 Non-negative Integers without Consecutive Ones 【629】 K Inverse Pairs Array 【638】 Shopping Offers 【639】 Decode Ways II 【646】 Maximum Length of Pa ...
分类:
其他好文 时间:
2018-08-31 21:14:32
阅读次数:
163