Was an interesting problem set. Faced some issues as I used 2 stacks one for storing the intermediate results and another for storing the words. Dont know if it was the right approach. If anyone used just one stack please comment.
I have used single dimensional arrays to store post fix expressions which were directly interpreted in a while loop. I used array variables to store the intermediate results
2 comments:
Was an interesting problem set. Faced some issues as I used 2 stacks one for storing the intermediate results and another for storing the words. Dont know if it was the right approach. If anyone used just one stack please comment.
I have used single dimensional arrays to store post fix expressions which were directly interpreted in a while loop. I used array variables to store the intermediate results
Post a Comment