source code for Leetcode Algorithm problems based on Java