Sorting and Efficiency
When we need to measure the performance of an algorithm, we usually focus on the size of the input. The size could affect the time required to execute an output.There are different complexities to consider. Suppose n is the input size, there are different ways to vary n. Here below are the ones we have gone through in class:
