Complexity of Loops
Practical catalog of loop patterns: additive, multiplicative, nested, square-root, harmonic, and while loops.
Practical catalog of loop patterns: additive, multiplicative, nested, square-root, harmonic, and while loops.
Arithmetic and geometric series, harmonic numbers, integral bounds, logarithm identities, and Stirling approximation for factorials.