Domanda di colloquio di YLD

Technical question was building a algorithm that is roughtly medium on leetcode