码迷,mamicode.com
首页 >  
搜索关键字:number of islands    ( 27069个结果
Two Sum leetcode java
题目:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the tw....
分类:编程语言   时间:2014-07-22 22:47:33    阅读次数:256
oracle 主键应用序列和触发器实现自动增长
oracle 主键自动增长这几天搞Oracle,想让表的主键实现自动增长,查网络实现如下:create table simon_example( id number(4) not null primary key, name varchar2(25))-- 建立序列:-- Create sequen...
分类:数据库   时间:2014-07-22 22:42:53    阅读次数:228
3Sum Closest leetcode java
题目:Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integ....
分类:编程语言   时间:2014-07-22 22:42:33    阅读次数:218
【leetcode刷题笔记】Edit Distance
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:其他好文   时间:2014-07-22 22:37:33    阅读次数:191
HDU1548——A strange lift(最短路径:dijskstra算法)
A strange liftDescriptionThere is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 2 #include 3 #include 4....
分类:Web程序   时间:2014-07-22 22:36:54    阅读次数:329
【leetcode刷题笔记】Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:其他好文   时间:2014-07-22 22:35:53    阅读次数:230
TortoiseSVN无法显示lock图标的解决
官网FAQ里查到以下说明:“You may find that not all of these icons are used on your system. This is because the number of overlays allowed by Windows is limited.....
分类:其他好文   时间:2014-07-22 22:35:16    阅读次数:600
hdu-1395 2^x mod n = 1
2^x mod n = 1 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11542 Accepted Submission(s): 3577 Problem Description Give a number n, find...
分类:其他好文   时间:2014-07-22 14:03:23    阅读次数:261
hdu 1711 Number Sequence
直接套KMP模板 #include #include #include using namespace std; int s[1000005],w[10005],next[10005]; int b,c; void show() { int i,j; i=0; next[0]=-1; j=-1; while(i<c) { if(j=...
分类:其他好文   时间:2014-07-21 23:29:03    阅读次数:334
poj1651Multiplication Puzzle(取数,区间DP)
Description The multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the row and scores the number of points ...
分类:其他好文   时间:2014-07-21 22:11:18    阅读次数:289
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!