Domanda di colloquio di Oscar Health

Regular leetcode kind of coding question