code to LeetCode