Domanda di colloquio di Abnormal AI

leetcode medium variations, can't say specific ones