摘要:
Number of Digit OneGiven an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n.For example:Gi... 阅读全文
posted @ 2015-07-13 12:26
陆草纯
阅读(578)
评论(0)
推荐(0)
摘要:
Lowest Common Ancestor of a Binary TreeGiven a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.According to thedefin... 阅读全文
posted @ 2015-07-13 09:26
陆草纯
阅读(1038)
评论(0)
推荐(0)