4th round of Leetcode