摘要: 题目地址:https://leetcode.com/problems/number-of-1-bits/解答:public class Solution { // you need to treat n as an unsigned value public int hammingWei... 阅读全文
posted @ 2015-04-07 17:06 buptubuntu 阅读(73) 评论(0) 推荐(0)
摘要: 题目链接:https://leetcode.com/problems/binary-tree-right-side-view/递归法解法:/** * Definition for binary tree * public class TreeNode { * int val; * T... 阅读全文
posted @ 2015-04-07 15:23 buptubuntu 阅读(183) 评论(0) 推荐(0)