We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Try this and you will see:
assert infix_to_prefix("a+b") == "ab+" assert infix_to_prefix("(a+(b*c))") == "abc*+" assert infix_to_prefix("((a+b)*(z+x))") == "ab+zx+*" assert infix_to_prefix("((a+t)*((b+(a+c))^(c+d)))") == "at+bac++cd+^*" assert infix_to_prefix("c+d*b/(a-e)^b^c") == "cdb*ae-bc^^/+"
First of all parsing is not problem free. Once you get passed it, the algorithm itself is flawed.
Your work is referenced from Wikipedia, you better fix it up :)
The text was updated successfully, but these errors were encountered:
Take a look here: https://gist.github.com/2175049
Sorry, something went wrong.
No branches or pull requests
Try this and you will see:
First of all parsing is not problem free. Once you get passed it, the algorithm itself is flawed.
Your work is referenced from Wikipedia, you better fix it up :)
The text was updated successfully, but these errors were encountered: