Problem
How would you optimize this brute-force solution to run in O(N) time?
Practicing as: QA Engineer interview at nferenceHi, I'll play your nference interviewer for the QA Engineer role. Answer the question above like we're in the room, and I'll respond the way a real interviewer would.
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.
