Search
⌘K

Leetcode 1211. Queries Quality and Percentage

Group rows by query_name and compute two aggregates: quality = average(rating/position) and poor_query_percentage = 100 * count(rating < 3) / total_count, with both values rounded to two decimal places, returning one row per query_name.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Your account is free and you can post anonymously if you choose.