Complexity Analysis
Counting elementary operations with summations, best/average/worst cases, and space complexity including the call stack.
Counting elementary operations with summations, best/average/worst cases, and space complexity including the call stack.
Practical catalog of loop patterns: additive, multiplicative, nested, square-root, harmonic, and while loops.
How to measure execution time and memory reliably in Java: warm-up, JIT compilation, doubling tests, and time ratios.