Pregunta de entrevista de Uber

- simple programming problem with concurrency question