Groups
Category
Level
A Markov chain models a system that moves between states where the next step depends only on the current state, not the past.
Fast exponentiation (binary exponentiation) computes a^n using repeated squaring in O(log n) multiplications.
Matrix exponentiation turns repeated linear transitions into a single fast power of a matrix using exponentiation by squaring.