Basic Algorithms For Leetcode Contest