Adithya Interview Question

One was sorting using three pointer