I know the main concepts of time complexity questions but I always fall on these tricky ones, can someone please explain the thought process on why the answer is this one.
Also in this case the first index of the inner loop is multiplied by 3 each iteration, what was the answer to the question if the starting index of the inner loop remained the same and the step of each iteration was multiplied by 3
for j in range(1, (n**3) + 1, i * 3) :
