leetcode 20141212