Tiger's leetcode solution

Saturday, November 29, 2014

String declaration in Java

›
http://blog.sina.cn/dpool/blog/s/blog_5b9b4abe01017b4q.html
Sunday, November 23, 2014

Java consumer producers problem using mutex

›
http://java67.blogspot.com/2012/12/producer-consumer-problem-with-wait-and-notify-example.html?m=1

156. Binary Tree Upside Down ---M ~~~~做了3遍的, 竟然忘了~~~~

›
Given the root of a binary tree, turn the tree upside down and return the new root . You can turn a binary tree upside down with the foll...
Saturday, November 22, 2014

155. Min Stack (Medium)

›
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. Implement the  MinStack  class: MinStack()...
Saturday, October 25, 2014

Amazon

›
. You will be given the number of pairs of parenthesis. Find out the total possible valid unique combinations and there should not be any du...
Sunday, October 19, 2014

Amazon 3

›
Saturday, October 18, 2014

count number of bits of '1' from 1 to n

›
Q: from 1 to n, count the number of bits that were set to 1. For example, n == 1,  return 1, n == 2, return 3, n == 3, return 5 n==4, ...
‹
›
Home
View web version

About Me

Tiger
View my complete profile
Powered by Blogger.