Binary expression trees -> Post-order traversal -> Reverse Polish notation.
Awesome.
You won’t believe this one cool trick to improve the efficiency of your exponentiation. #mathsclickbait
Exponentiation by squaring. O(log n) rather than O(n). Algorithms are cool!