Notes / Data Structures Algorithms / 13 Advanced Algorithms / 8 Fast Exponentiation

8 — Fast Exponentiation

Binary exponentiation for computing a^n (or a^n mod m) in O(log n) instead of O(n).

Chapter Navigation
On This Page

8 — Fast Exponentiation

Purpose

[stub: fast-exponentiation]

Metadata

AuthorAmit Singh
Scopedata-structures-algorithms

Local graph

Full graph →