In Depth
Some Standard Big O Functions
Some Standard Big O Functions
k
log n
sqrt(n)
n
n*log n
n^2
n^3
2^n
3^n
n^n
Big Oh Practice: Revisiting the Bisection (Binary Search)
Big Oh Practice: Revisiting the Bisection (Binary Search)
Write and demonstrate the following search methods:
Linear search on an array that has a Big Oh of O(n)
Bisection search method that uses recursion and has a Big Oh of O(log n) time.
After you have completed the above coding exercises
Full Course on Big O
Full Course on Big O
Your instructor will spend significant time going over all the pertinent Big O concepts you will need for this Data Structures course. But if you want some on-line materials to provide you with a reference, below is a full course available from freecodecamp.