A single for-loop in java producing a complexity of O(n^2)?
- 2 months ago
I appreciate the reply but I think for this question setting limit to n^2 as an end condition is not allowed as it would be the same as declaring the loop to go until n^2 instead of n.
Still have questions? Get your answers by asking now.