Timo66

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

08 2015 档案

摘要:CombinationQuestion 1CombinationsGiven two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solu... 阅读全文
posted @ 2015-08-31 14:37 Timo66 阅读(167) 评论(0) 推荐(0) 编辑

摘要:palindromeQuestion 1Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length o... 阅读全文
posted @ 2015-08-26 00:12 Timo66 阅读(218) 评论(0) 推荐(0) 编辑

摘要:String to Integer (atoi) / valid numberQuestion 1String to Integer (atoi)Implementatoito convert a string to an integer.Hint:Carefully consider all po... 阅读全文
posted @ 2015-08-21 15:55 Timo66 阅读(163) 评论(0) 推荐(0) 编辑

摘要:Reverse num/word/bits最近回国了 有点懒Question 1Reverse IntegerReverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321Be caref... 阅读全文
posted @ 2015-08-17 10:21 Timo66 阅读(164) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示