Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly two or zero sub-node. ...
分类:
其他好文 时间:
2017-09-03 13:15:06
阅读次数:
127
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2017-09-01 18:54:57
阅读次数:
206
Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that ...
分类:
其他好文 时间:
2017-08-30 18:25:05
阅读次数:
120
Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any leadin ...
分类:
其他好文 时间:
2017-08-26 22:48:46
阅读次数:
206
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2017-08-25 19:24:10
阅读次数:
161
模型性能评估的常用指标 真阳性(True Positive,TP):指被分类器正确分类的正例数据 真阴性(True Negative,TN):指被分类器正确分类的负例数据 假阳性(False Positive,FP):被错误地标记为正例数据的负例数据 假阴性(False Negative,FN):被 ...
分类:
其他好文 时间:
2017-08-24 13:33:05
阅读次数:
411
题目: Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: T ...
分类:
其他好文 时间:
2017-08-24 10:43:09
阅读次数:
168
【题目】 The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the tota ...
分类:
其他好文 时间:
2017-08-20 21:24:49
阅读次数:
171
Vpeak to peak is defined as the voltage measured between the maximum Positive and Negative Amplitudes on the sine wave. The Vrms is defined as square ...
分类:
其他好文 时间:
2017-08-20 10:00:44
阅读次数:
281
Three types of answer: Map Solution, O(N) memory, O(N) init, O(1) pick. Like @dettier's Reservoir Sampling. O(1) init, O(1) memory, but O(N) to pick. ...
分类:
其他好文 时间:
2017-08-19 23:40:55
阅读次数:
239