Basic Algorithms For Leetcode Solutions Python