Lesson 1 of 4
Animated idea model
arrayConstraints are a map of what can survive.
Constraints are a map of what can survive. Around 10⁵ values usually welcomes O(n) or O(n log n), but O(n²) may demand billions of operations.
Your call · n can be 100,000. Which is the safest target?