Bloomberg interview question

build a leaderboard ranking algorithm