I was asked the following question during the Walmart SSE System Design round:
- Credit coins to a user's account, where every 10 Rs. spent equals 1 coin.
- Provide a dashboard for all registered users that shows the top 10 customers with the most coins, in descending order.
- Ensure the dashboard is updated on a near real-time basis.
I proposed a design using a Redis sorted set, similar to the Leaderboard problem described by Alex XU II. However, it was rejected, and I don't know why. Can you please share your approaches?
Feeling dejected.
Comments (6)

