Practice in leetcode