Gaurav Chandak's submission of Reversing directions | CodeChef