10

Consider a list of subject, grade pairs. E.g.
[("Latin", "A"), ("French", "A*"), ("Math", "B"), ("Latin", "A*")]
The task is to return the same list but with each subject given at most once. Where a subject occurred more than once originally, the returned list should have the highest grade for...