Exercise

Maximum country medals by year

Getting the maximum of a country's earned medals so far helps you determine whether a country has broken its medals record by comparing the current year's earned medals and the maximum so far.

Instructions

100 XP
  • Return the year, country, medals, and the maximum medals earned so far for each country, ordered by year in ascending order.