harsh ranjan's submission of Swap and Explore | CodeChef