LIKE CODING

Tuesday, September 15, 2015

LeetCode [282] Expression Add Operators

›
282. Expression Add Operators Hard 1414 237 Add to List Share Given a string that contains only digits  0-9  and a target value, return all...
Sunday, September 13, 2015

LeetCode [281] Zigzag Iterator

›
Ref [1]  https://leetcode.com/problems/zigzag-iterator/ [2]  http://www.fgdsb.com/2015/01/30/zigzag-iterator/
Monday, September 7, 2015

LeetCode [278] First Bad Version

›
278. First Bad Version Easy 1492 684 Add to List Share You are a product manager and currently leading a team to develop a new product. Unfo...
Saturday, September 5, 2015

LeetCode [277] Find the Celebrity

›
============= Line 8-13 computes c, which is the only possible celebrity Proof: if c=0, c does not know any one in [1...n-1]. [c+1.....
Friday, September 4, 2015

LeetCode [276] Paint Fence

›
Note dp[i]: number of ways to paint i+1 fences dp[i] = dp[i-1]*k - dup dup denotes the number of ways to paint i fences while the...

LeetCode [275] H-Index II

›
Ref [1]  https://leetcode.com/submissions/detail/38811322/ OJ
Thursday, September 3, 2015

LeetCode [274] H-Index

›
  274.   H-Index Medium 809 1357 Add to List Share Given an array of citations (each citation is a non-negative integer) of a researcher, wr...
‹
›
Home
View web version
Powered by Blogger.