My Leetcode code