
Patrick B. answered 06/06/21
Math and computer tutor/teacher
Algorithm Average Worst case
quicksort n*log(n) n^2
bubblesort n^2 n^2
linear search N N
binary search logN logN
THe wikipedia articles give formal proofs and analysis..
For quicksort, you will see similar analysis to that of
the binary tree.