Razorpay interview question

Telephonic round: Search for a zero-sum subarray in a given array.

Interview Answer

Anonymous

30 May 2019

Starting from the brute force approach, gradually improved on it. The interviewer was chilled, did help at times. Did it in O(n) speed and O(n) space.

1