some questions in coursera occur in leetcode