Pergunta de entrevista da empresa Explorys

I got thrown off when they asked if I could calculate the computational complexity of an algorithm.