Big-O
.calc
JAVASCRIPT
// Type or paste code here... function findDupes(arr) { for(let i=0; i
Estimate Complexity
O(n²)
Quadratic Time
Performance degrades steeply as input grows.
0
Loops
0
Max Nesting
Back to Editor