Each player is assigned an id. Depending on his performance his score will change. Depending on his score, other players score his rank will change. What is efficient data structure to support following queries. Score updates are frequent as palyers keep playing.
int rank( int player_id); int score(int player_id); void updateScore( int plaer_id, int score ); -Thanks Bujji -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe from this group and stop receiving emails from it, send an email to algogeeks+unsubscr...@googlegroups.com.