Challenge: Big O of a Nested Loop with Multiplication
Compute the Big O of an algorithm that involves nested loops, where the loop variables increase with each iteration.
We'll cover the following
Problem statement
Compute the Big O time complexity of the following code. Try solving it on a piece of paper and then see if your answer matches the correct option.
Code snippet
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.