Challenge: Nested Loop With Multiplication (Pro)

A pro-level exercise based on Big(O) of an algorithm involving nested loops and the loop variables increment with 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 70+ hands-on prep courses.