Here’s the working code : CodeChef: Practical coding for everyone
You did not take no of test cases into consideration, and few other things like that filldp() function were not needed (although not incorrect)
Here’s the working code : CodeChef: Practical coding for everyone
You did not take no of test cases into consideration, and few other things like that filldp() function were not needed (although not incorrect)
Thanks a lot…Happy Coding