Skip to content

Commit 02c06fe

Browse files
committed
average case is theta
1 parent f600f26 commit 02c06fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/algorithms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ Most simple, checks elements left to right until the item is found.
437437

438438
Average case:
439439

440-
$$O\left(\frac{n}{2}\right)$$
440+
$$\Theta\left(\frac{n}{2}\right)$$
441441

442442
### Binary Search
443443

0 commit comments

Comments
 (0)