Question:

A loop within a loop (nested loop) have time complexity ______.

Updated On: Feb 21, 2026
  • n
  • n2
  • n+1
  • n3
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

The correct option is (B) :n2.
Was this answer helpful?
0
0