Question d’entretien chez Bloomberg

used notes to map out a coding question. could not understand