随笔分类 -  LeetCode

摘要:Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theHamming weight).For example, the 32-bit in... 阅读全文
posted @ 2015-03-22 14:18 Coder_C 阅读(129) 评论(0) 推荐(0)
摘要:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo... 阅读全文
posted @ 2015-03-22 13:02 Coder_C 阅读(110) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示