You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was checking for m==0 and n==0 and returning 0 for that which will be
redundant in this case.
Also there is not maintain a counter here as return statements in each step
will accumulate all the outputs and pass it to the previous(caller) instance
of the problem.