this is my code for leetcode website