Recent Question/Assignment

What is the correct big-T for the following algorithm:
For i = N downto 1 Do
A[i] = 1 / i
B[i] = i^2
Endfor
InsertionSort(A, N)
InsertionSort(B, N)

Looking for answers ?