Domanda di colloquio di AppLovin

Had a leetcode medium problem