Question d’entretien chez Apple

A SQL Question that requires a window function