my codes for leetcode online judge