Pregunta de entrevista de Catawiki

What is the complexity of your code?