Not getting the output


the code is not giving output, please check my code

@shivamgoel150 check your logic at line 28 the way you are calculating dp does not seem correct.