AlgoViz

O(n²) quadratic space

easy 14 min

O(n²) space means memory grows with n × n: a 2D table or matrix with one cell for every pair.