Merge Sort
O(n Log n ): average and worst case
Quick Sort
O(n log n ): average
O(n^2): worst case
Insertion Sort
O(N): best
O(N^2): worst
Bubble Sort
O(N): best
O(N^2): worst
Binary Search
O(Log n ): average and wort case
Recursion requires memory, which is equal to…
Runtime
Array
O(N)
Dictionary / Hashtable
O(1) lookup
Linked List finding first and any other node…
O(1) and O(N), respectively