AC for https://oj.leetcode.com/