Pergunta de entrevista da empresa Barclays

What is the complexity for two sums?