solution code to problems from https://oj.leetcode.com/