Pregunta de entrevista de Microsoft

calculate the complexities of designed algorithms?