my code of leetcode.com