problems from leetcodeoj by using java