this is to practice problems on leetcode