05 2014 档案
摘要:array to binary search tree
阅读全文
摘要:linked list loop and intersections
阅读全文
摘要:Hamming Distance
阅读全文
摘要:quick sort of array and linked list
阅读全文
摘要:reorder list
阅读全文
摘要:find k missing numbers from 1 to n. (k>=1)
阅读全文
摘要:find number which appears 1 time while the remaining numbers appear 3 times.
阅读全文
摘要:find N (N=1,2,3) numbers which appear only once in array
阅读全文
摘要:参见http://www.cnblogs.com/zhangziqiu/archive/2011/03/30/ComputerCode.html
阅读全文
摘要:roman to integer and integer to roman in c++
阅读全文
摘要:maximum/largest difference of array
阅读全文
摘要:string-permutation-with-repeating-chars
阅读全文
摘要:is balanced tree
阅读全文
摘要:using recursive and bitwise methods to get string combinations.
阅读全文
摘要:eight queens puzzle
阅读全文
摘要:sort ages with hashtable
阅读全文
摘要:add two numbers without arithmetic
阅读全文
摘要:100-interview-questions-of-cplusplus-basics
阅读全文
摘要:100-interview-questions-of-cplusplus-basics
阅读全文
摘要:print matrix/2d-array in clockwise direction
阅读全文
摘要:subtree structure in tree
阅读全文
摘要:clone of complex linked list.
阅读全文
摘要:Get lowest common ancestor of binary tree.
阅读全文
摘要:Find number which appears more than half times of array length.
阅读全文
摘要:Suffix Tree to get maximum symmetrical sub-string.
阅读全文
摘要:Implementation of singleton in C++/C#.
阅读全文
摘要:Calculate a^n in log(n).
阅读全文
摘要:Print sum S probability of N dices.
阅读全文
摘要:Get min value or smallest number of rotated array.
阅读全文
摘要:Sort array to min or smallest value.
阅读全文
摘要:Continuous cards.
阅读全文
摘要:Reverse a stack.
阅读全文
摘要:Print 1 to max number of N bits.
阅读全文
摘要:Ugly numbers.
阅读全文
摘要:Delete given chars from source string in O(n).
阅读全文
摘要:Find the first common node of two linked list.
阅读全文
摘要:Find a number which appears once in an array with all the other numbers appear twice.
阅读全文
摘要:Delete node in linked list in O(1).
阅读全文
摘要:A C++ final class.
阅读全文
摘要:Print a linked list from last to first.
阅读全文
摘要:Assign copy constructor.
阅读全文
摘要:Reorder an array so that odd numbers come before even numbers.
阅读全文
摘要:String's permutation.
阅读全文
摘要:Binary tree's depth or height.
阅读全文
摘要:Find continuous sequences between 1 to N whose sum equals to S.
阅读全文
摘要:Number of 1 between 1 to N.
阅读全文
摘要:Stack's push pop sequences.
阅读全文
摘要:The number of 1 bits in an integer.
阅读全文
摘要:Left rotate a string.
阅读全文
摘要:Longest common string(LCS).
阅读全文
摘要:Reverse a linked list.
阅读全文
摘要:2 stacks to implement a queue.
阅读全文
摘要:String to integer(atoi).
阅读全文
摘要:Dynamic programming and meta-programming to calculate Fib arrays.
阅读全文
摘要:C++ string class copy constructor and assign constructor.
阅读全文
摘要:Josephus problem.
阅读全文
摘要:Find first not repeating char in a string.
阅读全文
摘要:Visit a tree by level,namely BFS.
阅读全文
摘要:Mirror a binary search tree.
阅读全文
摘要:Find 2 numbers with given sum in sorted array.
阅读全文
摘要:Find the inverse Kth node of a linked list.
阅读全文
摘要:Another way to calculate sum of 1 to N.
阅读全文
摘要:Reverse the word order in a sentence, but maintain the character order inside a word.
阅读全文
摘要:Verify post-order sequence of binary search tree.
阅读全文
摘要:Find K least numbers.
阅读全文
摘要:Find paths whose node values equal to N in binary tree.
阅读全文
摘要:Maximum continuous sub-array.
阅读全文
摘要:Stack with min value.
阅读全文
摘要:Binary search tree to sorted double linked list.
阅读全文

浙公网安备 33010602011771号