Two nested loops each running n times execute body
- Acheck_circle
n² times
- B
n times
- C
n^n times
- D
2n times
Explanation
n × n = n² total iterations.
AP Computer Science A· difficulty 4/5
Two nested loops each running n times execute body
n² times
n times
n^n times
2n times
Explanation
n × n = n² total iterations.
Want 10 more like this — adaptive to your weak spots?