Round 1
Questions:
Received this question for Amazon OA, although looks very similar to Minimum Number of Increments on Subarrays to Form a Target Array, there is a minor difference in how the subarrays are handled. Tried a lot but could only pass 6 Test Cases. Would appreciate if anybody can help with a solution.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.