[Solved] big O time complexity recurrence relation [closed]
For positive ? the number of executions of count = count + 1 is representative of the complexity, as the other lines of code don’t execute significantly more times. The recurrence relation can use the first iteration of the outer loop: that represents ? iterations of the inner loop. The loop continues for ?/2, and … Read more