Pregunta de entrevista de Google

Questions were based on JD