摘要:
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo 阅读全文
posted @ 2018-03-21 17:03
__Meng
阅读(120)
评论(0)
推荐(0)
摘要:
Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), retur 阅读全文
posted @ 2018-03-21 16:21
__Meng
阅读(103)
评论(0)
推荐(0)
摘要:
Implement int sqrt(int x). Compute and return the square root of x. x is guaranteed to be a non-negative integer. Example 1: Example 2: 阅读全文
posted @ 2018-03-21 16:04
__Meng
阅读(117)
评论(0)
推荐(0)
摘要:
Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 阅读全文
posted @ 2018-03-21 15:29
__Meng
阅读(122)
评论(0)
推荐(0)
摘要:
Description: Count the number of prime numbers less than a non-negative number, n. Credits:Special thanks to @mithmatt for adding this problem and cre 阅读全文
posted @ 2018-03-21 15:05
__Meng
阅读(101)
评论(0)
推荐(0)
摘要:
Given a binary search tree (BST) with duplicates, find all the mode(s) (the most frequently occurred element) in the given BST. Assume a BST is define 阅读全文
posted @ 2018-03-21 11:20
__Meng
阅读(173)
评论(0)
推荐(0)
摘要:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet 阅读全文
posted @ 2018-03-21 10:46
__Meng
阅读(103)
评论(0)
推荐(0)
摘要:
Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to in 阅读全文
posted @ 2018-03-21 10:23
__Meng
阅读(152)
评论(0)
推荐(0)