Frage im Vorstellungsgespräch bei Adjust

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