Question d’entretien chez Microsoft

Asked to write code for a low-level design question