Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

gXa's blog

By gXa, history, 5 years ago, In English

Given a list of player names and their scores – {Carl, 70; Alex, 55; Isla, 40}, design a data structure that can support following modules in optimal time-

i). addEntry(string name, int value)

ii) updateEntry(string name)

iii) getEntryFromRank(int rank)

  • Vote: I like it
  • -21
  • Vote: I do not like it