Pergunta de entrevista da empresa Whatnot

Basic programming question about iterating through an array of objects. Describe the Big O notation of your solution.

Resposta da entrevista

Sigiloso

5 de nov. de 2022

I successfully answered the question in a very readable way. However, I felt the interviewer was more interested in throwing different "gotchas" at me.