My codes for leetcode