http://leetcode.com/onlinejudge#question_40
http://leetcode.com/onlinejudge#question_40