Whatnot Interview Question

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

Interview Answer

Anonymous

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