...

/

Challenge: Big O of a Nested Loop with Subtraction

Challenge: Big O of a Nested Loop with Subtraction

Compute the Big O of an algorithm that involves nested loops, where the loop variables decrease with each subtraction.

We'll cover the following...

Problem statement

Let’s test our time ...