Tiger's leetcode solution
Friday, April 22, 2016
334. Increasing Triplet Subsequence - M 看smart 解法
›
Q: Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should...
344. Reverse String E
›
Q: Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "ol...
337. House Robber III
›
The thief has found himself a new place for his thievery again. There is only one entrance to this area, called root . Besides the root , ...
Thursday, April 21, 2016
338. Counting Bits - M
›
Given a non negative integer number num . For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary ...
342. Power of Four
›
Q: Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example: Given num = 16, return true. Given...
Wednesday, April 20, 2016
343. Integer Break
›
Q: Given a positive integer n , break it into the sum of at least two positive integers and maximize the product of those integers. Ret...
Wednesday, February 10, 2016
241. Different Ways to Add Parentheses -------M!!!!
›
Q: Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers an...
‹
›
Home
View web version