Practice for coding in leetcode