Amazon Interview Question

a two pointer interview question