Closed nathancarter closed 4 years ago
Quadratic time is n^2. Exponential time is 2^n. This one is quadratic.
Quadratic time is n^2. Exponential time is 2^n. This one is quadratic.