-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Country Ranking #4
Comments
Hi, @recepkucek If I understand correctly, is country ranking means that someone's ranking within a country? For example, the current global ranking is like
And country ranking is something like this:
Please correct me if I am wrong. |
I think, country filter for each contest might be enough. |
Hi @baoliay2008 Can you please assign this to me if this is not taken up yet? |
@baoliay2008 thanks for assigning. |
Sure. Yes you are right and this should be in separate page. To clarify So users can compare themselves with other users in a country for each contest or all contests. |
Implementing the first feature should be straightforward since all the data for a specific contest is stored in the database. It should be sufficient to update the API and front-end to support the new feature. However, I believe that adding the second feature to this APP could be challenging because for now we only have cached information, primarily the ratings and attendance counts of users in recent contests.
|
@baoliay2008 I will try to first run the app locally. Then will think about how to implement these features. I agree that the second feature would be challenging. I think we can prepare the global ranking of users from leetcode separately if that is possible somehow. Will look into this. |
@baoliay2008 What is the mongodb version used in the instance running live? |
@amitpant14 MongoDB server version: 5.0.8 |
@baoliay2008 One question. |
@amitpant14 That's correct. I have implemented two distinct processes to allow for their execution on different machines, provided that they are connected to the same MongoDB database. |
@baoliay2008 Do you know how does leetcode saves the country information for a user? I could not see that detail in user profile update section on leetcode. Does that means country information is not set by user and cannot be edited? |
@amitpant14 I guess updating |
Yeah...but like for me this field is empty, still the country is picked up correctly. That's why I am a bit unsure. |
@baoliay2008 I have completed the first feature on my local branch. Below are the screenshots for reference: |
Could you please add country ranking ?
The text was updated successfully, but these errors were encountered: