Domanda di colloquio di Adjust

Implement a javascript object using arrays with time complexity O(n)