Pergunta de entrevista da empresa Fortinet

What is the time complexity.