Tech Articles
Explore deep-dives, coding tutorials, and tech insights from the community.
Binary Exponentiation¶ Binary exponentiation (also known as exponentiation by squaring) is a trick which allows to calculate $a^n$ , where $n$ is a non-...
Sparse Table¶ Sparse Table is a data structure, that allows answering range queries. It can answer most range queries in $O(\log n)$ , but its true power is...