Dinesh Goyal's submission of Non-Decreasing Subsequence of size K | CodeChef