Basic Algorithms For Leetcode