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
In the function print the code used to print the path is wrong. In the question, it says path must go in a straight line down, but the implementation print the path straight line up. for(int j=i; j <= level; j++) cout<<path[j]<<" "; cout<<'\n';
The text was updated successfully, but these errors were encountered:
In the function
print
the code used to print the path is wrong. In the question, it says path must go in a straight line down, but the implementation print the path straight line up.for(int j=i; j <= level; j++) cout<<path[j]<<" "; cout<<'\n';
The text was updated successfully, but these errors were encountered: