LeetCode  in java