码迷,mamicode.com
首页 >  
搜索关键字:number of islands    ( 27069个结果
CPU与IRP的一些相关函数
VOIDKiAdjustIrpCredits ( VOID )其中 Number = KeNumberProcessors;Prcb = KiProcessorBlock[Index];多核情况下调整每个CPU的IRP对象配额。在while (Index Lookaside...
分类:其他好文   时间:2014-06-03 11:35:52    阅读次数:254
[leetcode]Max Points on a Line @ Python
原题地址:https://oj.leetcode.com/problems/max-points-on-a-line/题意:Givennpoints on a 2D plane, find the maximum number of points that lie on the same strai...
分类:编程语言   时间:2014-06-03 08:55:48    阅读次数:282
C#随机函数random()典型用法集锦
C#随机函数random()典型用法集锦Random.Next() 返回非负随机数;Random.Next(Int) 返回一个小于所指定最大值的非负随机数Random.Next(Int,Int) 返回一个指定范围内的随机数1、random(number)函数介绍见帮助文档,简单再提一下,random...
分类:其他好文   时间:2014-06-03 08:11:52    阅读次数:318
jquery-autocomplete
jquery-autocomplete配置:语法:autocomplete(urlor data, [options] )参数:url or data:数组或者url[options]:可选项,选项解释如下:1) minChars (Number)在触发autoComplete前用户至少需要输入的字...
分类:Web程序   时间:2014-06-03 07:41:42    阅读次数:323
【HDOJ】1394 Minimum Inversion Number
逆序数的性质。1. 暴力解 1 #include 2 3 #define MAXNUM 5005 4 5 int a[MAXNUM]; 6 7 int main() { 8 int n; 9 int i, j, sum, min;10 11 while (scanf(...
分类:其他好文   时间:2014-05-31 07:50:50    阅读次数:170
Sum Root to Leaf Numbers
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:其他好文   时间:2014-05-30 16:32:52    阅读次数:226
Max Points on a Line
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line./** * Definition for a point. * struct Point { * ...
分类:其他好文   时间:2014-05-30 16:27:19    阅读次数:238
Distinct Subsequences
Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from the orig...
分类:其他好文   时间:2014-05-30 15:58:40    阅读次数:187
Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-05-30 15:15:53    阅读次数:225
Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-05-30 15:03:42    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!