随笔分类 -  Programmer's 100 Questions

摘要:Left rotate a string. 阅读全文
posted @ 2014-05-20 13:57 hellogiser 阅读(406) 评论(0) 推荐(0)
摘要:Longest common string(LCS). 阅读全文
posted @ 2014-05-20 13:54 hellogiser 阅读(151) 评论(0) 推荐(0)
摘要:Reverse a linked list. 阅读全文
posted @ 2014-05-20 13:52 hellogiser 阅读(243) 评论(0) 推荐(0)
摘要:2 stacks to implement a queue. 阅读全文
posted @ 2014-05-20 13:50 hellogiser 阅读(193) 评论(0) 推荐(0)
摘要:String to integer(atoi). 阅读全文
posted @ 2014-05-20 13:44 hellogiser 阅读(266) 评论(0) 推荐(0)
摘要:Dynamic programming and meta-programming to calculate Fib arrays. 阅读全文
posted @ 2014-05-20 13:41 hellogiser 阅读(265) 评论(0) 推荐(0)
摘要:C++ string class copy constructor and assign constructor. 阅读全文
posted @ 2014-05-20 13:35 hellogiser 阅读(266) 评论(0) 推荐(0)
摘要:Josephus problem. 阅读全文
posted @ 2014-05-20 13:27 hellogiser 阅读(257) 评论(0) 推荐(0)
摘要:Find first not repeating char in a string. 阅读全文
posted @ 2014-05-20 13:17 hellogiser 阅读(291) 评论(0) 推荐(0)
摘要:Visit a tree by level,namely BFS. 阅读全文
posted @ 2014-05-20 13:15 hellogiser 阅读(192) 评论(0) 推荐(0)
摘要:Mirror a binary search tree. 阅读全文
posted @ 2014-05-20 13:10 hellogiser 阅读(231) 评论(0) 推荐(0)
摘要:Find 2 numbers with given sum in sorted array. 阅读全文
posted @ 2014-05-20 13:03 hellogiser 阅读(240) 评论(0) 推荐(0)
摘要:Find the inverse Kth node of a linked list. 阅读全文
posted @ 2014-05-20 11:24 hellogiser 阅读(260) 评论(0) 推荐(0)
摘要:Another way to calculate sum of 1 to N. 阅读全文
posted @ 2014-05-20 11:18 hellogiser 阅读(300) 评论(0) 推荐(0)
摘要:Reverse the word order in a sentence, but maintain the character order inside a word. 阅读全文
posted @ 2014-05-20 11:11 hellogiser 阅读(470) 评论(0) 推荐(0)
摘要:Verify post-order sequence of binary search tree. 阅读全文
posted @ 2014-05-20 11:05 hellogiser 阅读(187) 评论(0) 推荐(0)
摘要:Find K least numbers. 阅读全文
posted @ 2014-05-20 10:50 hellogiser 阅读(348) 评论(0) 推荐(0)
摘要:Find paths whose node values equal to N in binary tree. 阅读全文
posted @ 2014-05-20 10:36 hellogiser 阅读(227) 评论(0) 推荐(0)
摘要:Maximum continuous sub-array. 阅读全文
posted @ 2014-05-20 10:26 hellogiser 阅读(287) 评论(0) 推荐(0)
摘要:Stack with min value. 阅读全文
posted @ 2014-05-20 10:03 hellogiser 阅读(212) 评论(1) 推荐(0)