How many times does it run through the inner loop?
Rashakil Fol
Super Senior Demiposter
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
The inner loop should run sqrt(n) times. Is that the same as n^0.5 times?
Is the sqrt(n) the same as n^0.5? Are you really asking that? Okay, yes it is.
Rashakil Fol
Super Senior Demiposter
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177