My practice on leetcode code puzzles