leetcode 2/13/2014