Pregunta de entrevista de Google

I was asked about analyzing the time complexity for a program after coding it