Code of leetcode.  Refer https://oj.leetcode.com/problems/ for more information.