Domanda di colloquio di Samsara

not a leetcode problem, It's a story like a problem