Shreyas Gupta's submission of Reversal Sorting | CodeChef