Domanda di colloquio di TechTree IT Systems

Time complexity and space complexity of a given array manipulation problem