Big-O notation
Big-O notation categorizes algorithms based on efficiency. It helps us compare and choose the best algorithm for a task.
The Essence of Big-O
One way of finding the largest number in a list involves comparing each number to the current largest one. This is a linear time algorithm, shown as