Add leetcode_511 implement.