Pergunta de entrevista da empresa Ubisoft

Determine the time and space complexity of different algorythms.