leetcode 2/17/2014