Doubt in two test cases

please check my code ,comment the errors ,

hello @Adhyayan
image

why r u using <= sign it should be < .
change it and then try.

test case 0 is still not passing

pls share ur updated code.

intialsie ur ans1 with l.
and assign n+2 value to 0 as well.