Pergunta de entrevista da empresa Microsoft

calculate the complexities of designed algorithms?