上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 84 下一页
摘要: Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace... 阅读全文
posted @ 2015-03-17 11:23 穆穆兔兔 阅读(207) 评论(0) 推荐(0)
摘要: http://blog.chinaunix.net/uid-20698239-id-1891361.htmlhttp://blog.csdn.net/rstevens/article/details/1803801http://www.cnblogs.com/chengxuyuancc/p/3576... 阅读全文
posted @ 2015-03-13 17:30 穆穆兔兔 阅读(108) 评论(0) 推荐(0)
摘要: http://blog.chinaunix.net/uid-20698239-id-1891361.htmlhttp://blog.csdn.net/rstevens/article/details/1803801http://www.cnblogs.com/chengxuyuancc/p/3576... 阅读全文
posted @ 2015-03-13 17:30 穆穆兔兔 阅读(79) 评论(0) 推荐(0)
摘要: Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not co... 阅读全文
posted @ 2015-03-13 16:15 穆穆兔兔 阅读(243) 评论(0) 推荐(0)
摘要: Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3,4], [2,3],... 阅读全文
posted @ 2015-03-13 14:44 穆穆兔兔 阅读(175) 评论(0) 推荐(0)
摘要: Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S="ADOBECODEBA... 阅读全文
posted @ 2015-03-11 15:04 穆穆兔兔 阅读(183) 评论(0) 推荐(0)
摘要: Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s... 阅读全文
posted @ 2015-03-11 11:00 穆穆兔兔 阅读(161) 评论(0) 推荐(0)
摘要: 本文主要参考《unix环境高级编程》sigaction函数的功能是检查或修改与指定信号相关联的处理动作(可同时两种操作)。intsigaction(intsigno,conststructsigaction*restrict act,structsigaction*restrict oact);结构... 阅读全文
posted @ 2015-03-10 17:20 穆穆兔兔 阅读(1805) 评论(0) 推荐(1)
摘要: Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to show corner cas... 阅读全文
posted @ 2015-03-10 16:26 穆穆兔兔 阅读(218) 评论(0) 推荐(0)
摘要: You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb... 阅读全文
posted @ 2015-03-10 14:07 穆穆兔兔 阅读(139) 评论(0) 推荐(0)
上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 84 下一页