leetcode 3/14/2014