TA too lazy to make the description, yet also too lazy to finish the code
But do you know if you can make a calculator using tree data structure?
I've implement some part, but still not finish
Help the TA finish the code
This question is a partial judge
You need to implement 2 functions that defined in the header file
There is T testcases
The input is the prefix equation contains combination of '&', '|', '^', '1', and '0'. Also you don't need to worry about the format as it's a partial judge
The result, either True or False for each testcases