Domanda di colloquio di Obsidian Security

LC medium type question for technical interview.