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)