Pregunta de entrevista de Google

Some coding problems, time complexity of your algorithm,etc.