leetcode codes by myself