Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.9 C++ implementation print the path in the reversed order #144

Open
ZengruiWang opened this issue Feb 20, 2016 · 0 comments
Open

4.9 C++ implementation print the path in the reversed order #144

ZengruiWang opened this issue Feb 20, 2016 · 0 comments

Comments

@ZengruiWang
Copy link

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';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant