Amazon OA
Anonymous User
2611

Need help with this recently asked amazon question.
Tried being greedy but could not pass all the test cases
image
image
image
image

Comments (14)