leetcode 2013-9-11