Domanda di colloquio di Grid Dynamics

it was leetcode mid problems