发布时间:2015-03-22 11:37:08
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For example:Given binary tree {3,9,20,#,#,15,7}, 3 / \ 9 20 / \ 15 7return its bottom-up level order tr.........【阅读全文】
发布时间:2015-03-21 16:15:10
The set [1,2,3,…,n] contains a total of n! unique permutations.By listing and labeling all of the permutations in order,We get the following sequence (ie, for n = 3):"123""132""213""231""312""321"Given n a.........【阅读全文】
发布时间:2015-03-20 16:59:15
Validate if a given string is numeric.Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => trueNote: It is intended for the problem statement to be ambiguous. You should gather all requirements up f.........【阅读全文】
发布时间:2015-03-20 15:28:48
Combinations Total Accepted: 36487 Total Submissions: 119636My SubmissionsQuestion Solution Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.Fo.........【阅读全文】