Pregunta de entrevista de Google

focus on basic algorithms and understand them.