LeetCode 5/19/2014