Whatnot interview question

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

Interview Answer

Anonymous

5 Nov 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.