摘要:
Sort array to min or smallest value. 阅读全文
posted @ 2014-05-20 19:43
hellogiser
阅读(440)
评论(0)
推荐(0)
摘要:
Continuous cards. 阅读全文
posted @ 2014-05-20 14:50
hellogiser
阅读(407)
评论(0)
推荐(0)
摘要:
Reverse a stack. 阅读全文
posted @ 2014-05-20 14:48
hellogiser
阅读(421)
评论(0)
推荐(0)
摘要:
Print 1 to max number of N bits. 阅读全文
posted @ 2014-05-20 14:47
hellogiser
阅读(402)
评论(0)
推荐(0)
摘要:
Ugly numbers. 阅读全文
posted @ 2014-05-20 14:45
hellogiser
阅读(401)
评论(0)
推荐(0)
摘要:
Delete given chars from source string in O(n). 阅读全文
posted @ 2014-05-20 14:43
hellogiser
阅读(402)
评论(0)
推荐(0)
摘要:
Find the first common node of two linked list. 阅读全文
posted @ 2014-05-20 14:40
hellogiser
阅读(583)
评论(0)
推荐(0)
摘要:
Find a number which appears once in an array with all the other numbers appear twice. 阅读全文
posted @ 2014-05-20 14:38
hellogiser
阅读(395)
评论(0)
推荐(0)
摘要:
Delete node in linked list in O(1). 阅读全文
posted @ 2014-05-20 14:35
hellogiser
阅读(374)
评论(0)
推荐(0)
摘要:
A C++ final class. 阅读全文
posted @ 2014-05-20 14:31
hellogiser
阅读(817)
评论(0)
推荐(0)
摘要:
Print a linked list from last to first. 阅读全文
posted @ 2014-05-20 14:28
hellogiser
阅读(322)
评论(0)
推荐(0)
摘要:
Assign copy constructor. 阅读全文
posted @ 2014-05-20 14:24
hellogiser
阅读(255)
评论(0)
推荐(0)
摘要:
Reorder an array so that odd numbers come before even numbers. 阅读全文
posted @ 2014-05-20 14:20
hellogiser
阅读(405)
评论(0)
推荐(0)
摘要:
String's permutation. 阅读全文
posted @ 2014-05-20 14:16
hellogiser
阅读(481)
评论(0)
推荐(0)
摘要:
Binary tree's depth or height. 阅读全文
posted @ 2014-05-20 14:12
hellogiser
阅读(567)
评论(0)
推荐(0)
摘要:
Find continuous sequences between 1 to N whose sum equals to S. 阅读全文
posted @ 2014-05-20 14:11
hellogiser
阅读(312)
评论(0)
推荐(0)
摘要:
Number of 1 between 1 to N. 阅读全文
posted @ 2014-05-20 14:07
hellogiser
阅读(336)
评论(0)
推荐(0)
摘要:
Stack's push pop sequences. 阅读全文
posted @ 2014-05-20 14:03
hellogiser
阅读(430)
评论(0)
推荐(0)
摘要:
DP and Fib. 阅读全文
posted @ 2014-05-20 14:02
hellogiser
阅读(319)
评论(0)
推荐(0)
摘要:
The number of 1 bits in an integer. 阅读全文
posted @ 2014-05-20 14:00
hellogiser
阅读(300)
评论(0)
推荐(0)
摘要:
Left rotate a string. 阅读全文
posted @ 2014-05-20 13:57
hellogiser
阅读(408)
评论(0)
推荐(0)
摘要:
Longest common string(LCS). 阅读全文
posted @ 2014-05-20 13:54
hellogiser
阅读(152)
评论(0)
推荐(0)
摘要:
Reverse a linked list. 阅读全文
posted @ 2014-05-20 13:52
hellogiser
阅读(245)
评论(0)
推荐(0)
摘要:
2 stacks to implement a queue. 阅读全文
posted @ 2014-05-20 13:50
hellogiser
阅读(196)
评论(0)
推荐(0)
摘要:
String to integer(atoi). 阅读全文
posted @ 2014-05-20 13:44
hellogiser
阅读(268)
评论(0)
推荐(0)
摘要:
Dynamic programming and meta-programming to calculate Fib arrays. 阅读全文
posted @ 2014-05-20 13:41
hellogiser
阅读(266)
评论(0)
推荐(0)
摘要:
C++ string class copy constructor and assign constructor. 阅读全文
posted @ 2014-05-20 13:35
hellogiser
阅读(269)
评论(0)
推荐(0)
摘要:
Josephus problem. 阅读全文
posted @ 2014-05-20 13:27
hellogiser
阅读(260)
评论(0)
推荐(0)
摘要:
Find first not repeating char in a string. 阅读全文
posted @ 2014-05-20 13:17
hellogiser
阅读(295)
评论(0)
推荐(0)
摘要:
Visit a tree by level,namely BFS. 阅读全文
posted @ 2014-05-20 13:15
hellogiser
阅读(195)
评论(0)
推荐(0)
摘要:
Mirror a binary search tree. 阅读全文
posted @ 2014-05-20 13:10
hellogiser
阅读(236)
评论(0)
推荐(0)
摘要:
Find 2 numbers with given sum in sorted array. 阅读全文
posted @ 2014-05-20 13:03
hellogiser
阅读(244)
评论(0)
推荐(0)
摘要:
Find the inverse Kth node of a linked list. 阅读全文
posted @ 2014-05-20 11:24
hellogiser
阅读(262)
评论(0)
推荐(0)
摘要:
Another way to calculate sum of 1 to N. 阅读全文
posted @ 2014-05-20 11:18
hellogiser
阅读(303)
评论(0)
推荐(0)
摘要:
Reverse the word order in a sentence, but maintain the character order inside a word. 阅读全文
posted @ 2014-05-20 11:11
hellogiser
阅读(477)
评论(0)
推荐(0)
摘要:
Verify post-order sequence of binary search tree. 阅读全文
posted @ 2014-05-20 11:05
hellogiser
阅读(189)
评论(0)
推荐(0)
摘要:
Find K least numbers. 阅读全文
posted @ 2014-05-20 10:50
hellogiser
阅读(356)
评论(0)
推荐(0)
摘要:
Find paths whose node values equal to N in binary tree. 阅读全文
posted @ 2014-05-20 10:36
hellogiser
阅读(230)
评论(0)
推荐(0)
摘要:
Maximum continuous sub-array. 阅读全文
posted @ 2014-05-20 10:26
hellogiser
阅读(288)
评论(0)
推荐(0)
摘要:
Stack with min value. 阅读全文
posted @ 2014-05-20 10:03
hellogiser
阅读(214)
评论(1)
推荐(0)
摘要:
Binary search tree to sorted double linked list. 阅读全文
posted @ 2014-05-20 09:16
hellogiser
阅读(242)
评论(0)
推荐(0)

浙公网安备 33010602011771号