Challenge: Nested Loop with Multiplication (Advanced)

Compute the Big O of an advanced algorithm with nested loops involving multiplication.

We'll cover the following

Problem statement

Compute the Big O complexity of the code snippet given below. 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 80+ hands-on prep courses.