Tiger's leetcode solution

Monday, April 27, 2015

204. Count Primes M !!

›
Q: Given an integer  n , return  the number of prime numbers that are strictly less than   n .   Example 1: Input: n = 10 Output: 4 Expla...
Wednesday, April 22, 2015

202. Happy Number (easy)

›
Q: Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starti...
1 comment:
Sunday, April 19, 2015

201. Bitwise AND of Numbers Range -----------M

›
Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this range, inclusive. Example 1: In...
Wednesday, April 8, 2015

200. Number of Islands ----- M

›
Given an  m x n  2D binary grid  grid  which represents a map of  '1' s (land) and  '0' s (water), return  the number of isl...
Saturday, April 4, 2015

199. Binary Tree Right Side View ----M

›
Given the  root  of a binary tree, imagine yourself standing on the  right side  of it, return  the values of the nodes you can see ordered ...
‹
›
Home
View web version

About Me

Tiger
View my complete profile
Powered by Blogger.