Solutions of Leetcode in Java