How much time does the following algorithm require as a funciton of n?
Express your answer in theta notation in the simplest form. Consider each individual instruction (including loop control) as elementary.
l = 0
for i = 1 to n
for j = 1 to n^2
for k = 1 to n^3
l = l + 1
The number of loops in an algorithm is used to express time required. The solution is detailed and well presented.