Bloomberg interview question

Design a dictionary API and design a race circuit leaderboard.