Pregunta de entrevista de Amazon

BQ and coding question in every round