
ALT Every algorithm or set of instructions requires time and space to execute, so when we create algorithms to solve our technical problems we must examine the time and space complexity of the execution. We typically only hear of Big-O notation when discussing algorithmic complexity and performance and there’s a reason for this! But it’s important to understand Big-𝚹 (Big-Theta) and Big-𝛀 (Big-Omega) as well. I stated previously that Big-O notation describes the worst-case performance or complexity of an algorithm. In other words, Big-O tells us the maximum amount of time or the maximum amount of storage this algorithm will need to execute. We can chart an algorithm’s worst-case runtime, or upper bound, on a two-dimensional axis. The x-axis represents the input size and the y-axis represents the amount of time or space this algorithm requires. In other words: As our data size increases, how does it impact the algorithm’s performance or space requirement?






























