Panda Guru LogoPanda
Guru

Amazon OA query

Round 1

Questions: Specific question not provided.

Candidate's Approach

I used the prefix sum kind of approach to solve the problem. The solution has a time complexity of O(N) with O(1) space. However, I could only pass 13 out of 15 test cases.

Interviewer's Feedback

No feedback provided.