摘要:CombinationQuestion 1CombinationsGiven two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solu...
阅读全文
08 2015 档案
摘要:CombinationQuestion 1CombinationsGiven two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solu...
阅读全文
摘要:palindromeQuestion 1Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length o...
阅读全文
摘要:String to Integer (atoi) / valid numberQuestion 1String to Integer (atoi)Implementatoito convert a string to an integer.Hint:Carefully consider all po...
阅读全文
摘要:Reverse num/word/bits最近回国了 有点懒Question 1Reverse IntegerReverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321Be caref...
阅读全文
|