Pergunta de entrevista da empresa Finys

Can you explain the time complexity problem (Big O notation)?