Domanda di colloquio di TikTok

Leetcode question 208 was asked