Closed mudit-51 closed 1 year ago
Add a screenshot! Please
Using your own infix->postfix tool, I get this as a result for [a-b-c-d]
Plugging the answer into your own postfix->infix tool, we don't get the original equation. This convertor works perfectly, which leads me to conclude that the issue is with the infix->postfix convertor
Thanks, @mudit-51 for bringing this up. I guess to fix the #5 I did miss some edge cases. I guess it has been fixed in the current version to tackle some extra edge cases which are not handled by the original algorithm so had to apply some modifications.
The algorithm used for the same is wrong. Try converting [a-b-c-d] and then try converting the output back to infix notation. It is easy to see that the potfix notation in the first place was wrong