Skip to content
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

SortBy Company field should consider company filter #306

Open
vrajeshkanna opened this issue Apr 14, 2024 · 4 comments
Open

SortBy Company field should consider company filter #306

vrajeshkanna opened this issue Apr 14, 2024 · 4 comments

Comments

@vrajeshkanna
Copy link

When sorting the data by the company field, the sorting should be based on the frequency of the selected company in the filter. For example, if "Facebook" is selected in the filter, the sorting should be based on the frequency of questions related to Facebook under the company field.

image

@LordChakshu
Copy link
Contributor

On applying company based filter we get questions filtered on company basis, How do we define frequency related to particular company e.g. facebook given in above example?

@seanprashad
Copy link
Owner

How do we define frequency related to particular company e.g. facebook given in above example?

Once questions have been filtered by a company, you can left click on the Companies column header to sort by ascending/descending in terms of total company count. In other words, questions that have been asked by 10 different companies will appear higher up than questions asked by 3 different companies. The individual company count is pulled directly from Leetcode on a weekly-basis.

@LordChakshu
Copy link
Contributor

What is the functionality requirement that we are looking for in this issue #306
P.S=> @seanprashad sort by ascending/descending is difficult to locate unless told :)

@vrajeshkanna
Copy link
Author

@LordChakshu In the above case, the frequency of this question is 155. The functionality requirement is when Facebook is selected and when we sort by descending, we should sort by most asked question to least asked question. That way those who have less time can prep most frequently asked questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants