Question d’entretien chez J.P. Morgan

Basic algorithms questions. Such as integer counting.