What Is Big O Notation?

As programmers, we often find ourselves asking the same two questions over and over again:

  1. How much time does this algorithm need to complete?
  2. How much space does this algorithm need for computing?

To put it in other words, in computer programming, there are often multiple ways to solve a problem, so