Research Article

A Method for Fast Leaderboard Calculations in Massive Online Game-Based Environments

Algorithm 3

Step 1. Search for the score of the player id in the Hash Table
Step 2. Use ranking to obtain current position
Step 3. Update score for player id in both structures, tree and Hash Table
Step 4. Use ranking to obtain new position
Step 5. Return , and