Y
Hacker News
new
|
ask
|
show
|
jobs
by
bombolo
1285 days ago
You never implemented a quick polish notation calculator that uses this data structure? [1,2, '+']
1 comments
chenzhekl
1285 days ago
I would use two stacks, one of which stores numbers and the other stores operators.
link
bombolo
1285 days ago
Why? Just to have no unions of types?
link