please check my code ,comment the errors ,
Doubt in two test cases
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.
please check my code ,comment the errors ,
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.