Pregunta de entrevista de Canva

About time complexity and other algorithm questions.