tech + politics + nature + free culture
Skip to content
Binary expression trees -> Post-order traversal -> Reverse Polish notation.
You won’t believe this one cool trick to improve the efficiency of your exponentiation.
Exponentiation by squaring. O(log n) rather than O(n). Algorithms are cool!