Sample implementations of useful algorithms and data structures in C++.
- Euclidean Algorithm (GCD)
- Extended Euclidean Algorithm (extended GCD)
- Fast Power Modulo (binary exponentiation)
- Linear Diophantine Equation
- Multiplying Matrixes
- Perfect Numbers in range
- Reverse Polish Notation
- Fibonacci Numbers (using easy iteration)
- Fibonacci Numbers (using easy recursion)
- Fibonacci Numbers (using fast doubling)
- Fibonacci Numbers (using Matrix)