code is not getting submitted but it is giving correct output on ide here is the link
Tilling problem -2
@ayush1213 hey ayush if all cases are right this question will give tle because this question belongs to dp the same question also in dynamic section