In tile area question we included cnt as parameter so it is not updated to zero on every recursion whereas in ladder problem cnt is not a parameter in function so it is updated to zero regularly.
how is that good for both questions as these questions looks similar to me ??
how to recognize this ??