{"action":"opened","issue":{"url":"https://api.github.com/repos/careercup/ctci/issues/144","repository_url":"https://api.github.com/repos/careercup/ctci","labels_url":"https://api.github.com/repos/careercup/ctci/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/careercup/ctci/issues/144/comments","events_url":"https://api.github.com/repos/careercup/ctci/issues/144/events","html_url":"https://github.com/careercup/ctci/issues/144","id":135030931,"number":144,"title":"4.9 C++ implementation print the path in the reversed order","user":{"login":"ZengruiWang","id":11024711,"avatar_url":"https://avatars.githubusercontent.com/u/11024711?v=3","gravatar_id":"","url":"https://api.github.com/users/ZengruiWang","html_url":"https://github.com/ZengruiWang","followers_url":"https://api.github.com/users/ZengruiWang/followers","following_url":"https://api.github.com/users/ZengruiWang/following{/other_user}","gists_url":"https://api.github.com/users/ZengruiWang/gists{/gist_id}","starred_url":"https://api.github.com/users/ZengruiWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZengruiWang/subscriptions","organizations_url":"https://api.github.com/users/ZengruiWang/orgs","repos_url":"https://api.github.com/users/ZengruiWang/repos","events_url":"https://api.github.com/users/ZengruiWang/events{/privacy}","received_events_url":"https://api.github.com/users/ZengruiWang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-20T04:27:59Z","updated_at":"2016-02-20T04:27:59Z","closed_at":null,"body":"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. I think we need to use a vector to store and print them in reverse order.\r\n"}}