Time Complexity Calculation Examples