Content deleted Content added
Jorge Stolfi (talk | contribs) m →Asymptotic worst-case analysis: markup fix |
Jorge Stolfi (talk | contribs) m →Asymptotic worst-case analysis: typos |
||
Line 25:
====Asymptotic worst-case analysis====
In this table, the [[big-O notation|notation O(''f''(''n''))]] means "not exceeding some fixed multiple of ''f''(''n'')" in the worst case".
{| class="wikitable"
Line 50:
| O(''n'')
|-
| Sorted
| O(''n'')
| O(''n'')
Line 57:
| O(''n'')
|-
| Unsorted [[
| O(1)
| O(1)
|