Ranking Shift After Point Updates - Coding problem | OneNoughtOne