My leetcode solutions in Java