Question d’entretien chez Western Digital

coding question on logic about numbering