source codes for leetcode algorithm problems based on Java