Dinesh Goyal's submission of Merged LIS | CodeChef