Complexity AnalysisO(n²) Basics
🔁

Quadratic Time Complexity — O(n²)

Some algorithms repeatedly compare elements again and again using nested loops.