Google Interview Question

How do you describe this in the Big(O) notation?

Interview Answer

Anonymous

Sep 29, 2024

It takes O^2 times.