Groups
Category
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.