Challenge: Nested Loop with Multiplication (Advanced)

An advanced exercise based on the Big O of an algorithm. Like before, it involves nested loops in which the loop variables increment through multiplication and addition.

We'll cover the following

Problem Statement #

Compute the Big O complexity of the code snippet given below. It is better to solve 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.