Pregunta de entrevista de Ubisoft

Determine the time and space complexity of different algorythms.