Domanda di colloquio di Cato Networks

Average leetcode questions. I'll say medium (difficulty)