LeetCode[Hard]