Domanda di colloquio di OpenAI

implementation heavy leetcode style question involving array manipulation