Dec 18, 2020Understanding Time Complexity (N²)There is a nested “for” loop and for every iteration loop increments by one. Now, if we are asked about the time complexity of the above scenario, we give a quick answer O(N²) or Theta(N²) or Omega(N²). Yes, the answer is right. …Datastrucutre2 min readDatastrucutre2 min read