leetcode 12/27/2013