随笔分类 -  Programmer's 100 Questions

摘要:find number which appears 1 time while the remaining numbers appear 3 times. 阅读全文
posted @ 2014-05-28 21:31 hellogiser 阅读(1480) 评论(13) 推荐(1)
摘要:find N (N=1,2,3) numbers which appear only once in array 阅读全文
posted @ 2014-05-27 16:58 hellogiser 阅读(680) 评论(0) 推荐(0)
摘要:roman to integer and integer to roman in c++ 阅读全文
posted @ 2014-05-27 08:11 hellogiser 阅读(1637) 评论(0) 推荐(0)
摘要:maximum/largest difference of array 阅读全文
posted @ 2014-05-26 12:20 hellogiser 阅读(2632) 评论(0) 推荐(0)
摘要:string-permutation-with-repeating-chars 阅读全文
posted @ 2014-05-26 08:33 hellogiser 阅读(999) 评论(0) 推荐(0)
摘要:is balanced tree 阅读全文
posted @ 2014-05-25 15:18 hellogiser 阅读(987) 评论(0) 推荐(0)
摘要:using recursive and bitwise methods to get string combinations. 阅读全文
posted @ 2014-05-25 08:50 hellogiser 阅读(1744) 评论(4) 推荐(0)
摘要:eight queens puzzle 阅读全文
posted @ 2014-05-24 20:13 hellogiser 阅读(1297) 评论(0) 推荐(0)
摘要:sort ages with hashtable 阅读全文
posted @ 2014-05-24 14:47 hellogiser 阅读(335) 评论(0) 推荐(0)
摘要:add two numbers without arithmetic 阅读全文
posted @ 2014-05-24 14:13 hellogiser 阅读(1190) 评论(5) 推荐(1)
摘要:print matrix/2d-array in clockwise direction 阅读全文
posted @ 2014-05-23 19:52 hellogiser 阅读(982) 评论(6) 推荐(0)
摘要:subtree structure in tree 阅读全文
posted @ 2014-05-23 18:07 hellogiser 阅读(556) 评论(0) 推荐(0)
摘要:clone of complex linked list. 阅读全文
posted @ 2014-05-23 11:55 hellogiser 阅读(1607) 评论(1) 推荐(0)
摘要:Get lowest common ancestor of binary tree. 阅读全文
posted @ 2014-05-22 15:43 hellogiser 阅读(740) 评论(0) 推荐(1)
摘要:Find number which appears more than half times of array length. 阅读全文
posted @ 2014-05-22 09:21 hellogiser 阅读(441) 评论(0) 推荐(0)
摘要:Suffix Tree to get maximum symmetrical sub-string. 阅读全文
posted @ 2014-05-21 20:33 hellogiser 阅读(265) 评论(0) 推荐(0)
摘要:Implementation of singleton in C++/C#. 阅读全文
posted @ 2014-05-21 19:51 hellogiser 阅读(290) 评论(0) 推荐(0)
摘要:Calculate a^n in log(n). 阅读全文
posted @ 2014-05-21 18:14 hellogiser 阅读(346) 评论(0) 推荐(0)
摘要:Print sum S probability of N dices. 阅读全文
posted @ 2014-05-21 16:23 hellogiser 阅读(500) 评论(0) 推荐(0)
摘要:Get min value or smallest number of rotated array. 阅读全文
posted @ 2014-05-21 10:14 hellogiser 阅读(235) 评论(0) 推荐(0)