Domanda di colloquio di Rapid7

it was 1 easy leetcode question