最新 最热

Counting Bits

1. Description2. SolutionVersion 1class Solution {public: vector<int> countBits(int num) {

2019-05-25
5

Bitwise AND of Numbers Range

1. Description2. SolutionVersion 1class Solution {public: int rangeBitwiseAnd(int m, int n)

2019-05-25
5

Sum of Two Integers

1. Description2. SolutionVersion 1class Solution {public: int getSum(int a, int b) {

2019-05-25
7

Power of Four

1. Description2. SolutionVersion 1class Solution {public: bool isPowerOfFour(int num) {

2019-05-25
7

Power of Three

1. Description2. SolutionVersion 1class Solution {public: bool isPowerOfThree(int n) {

2019-05-25
5

House Robber III

1. Description2. SolutionVersion 1/** * Definition for a binary tree node. * struct TreeNode {

2019-05-25
7

House Robber

1. Description2. SolutionVersion 1class Solution {public: int rob(vector<int>& nums) {

2019-05-25
8

Maximize Distance to Closest Person

1. Description2. SolutionVersion 1class Solution {public: int maxDistToClosest(vector<int>&

2019-05-25
7

Increasing Order Search Tree

1. Description2. SolutionVersion 1/** * Definition for a binary tree node. * struct TreeNode {

2019-05-25
6

Leetcode 63. Unique Paths II

1. Description2. SolutionVersion 1class Solution {public: int uniquePathsWithObstacles(vecto

2019-05-25
5