Answer:
run-time efficiency = 5n²
big-O notation = O(n^2)
Step-by-step explanation:
for (int i=1; i<=n; i++)
doIt(…)
solution :
doIt = 5n
doIT() is dependent on n itself, then calling it within a loop also dependent on n , that makes 5n²
and
T(n) ∈ O(n^2)