quadratic time
Work that grows with the square of the number of elements, typically a loop over everything inside another.
Often hidden as a linear call, such as List.contains, inside a loop over n elements.
See also
Work that grows with the square of the number of elements, typically a loop over everything inside another.
Often hidden as a linear call, such as List.contains, inside a loop over n elements.
See also