Pergunta de entrevista da empresa Iconic (CA)

How to take into account big O notation.