My solutions to leetcode problems in Java