Question d’entretien chez Citadel Securities

Python trivia and an algorithms/data structures problem