Finite-Size Crossover Laboratory

Linear versus quadratic evaluated at one shared input

Finite input can differ from the asymptotic trend.
Drag to orbit · wheel to zoom
Linear · O(n)
Quadratic · O(n²)
Crossover
Test n
L
Q
Input size n
Evaluated cost