Solutions to leetcode oj