replace questions from leetcode