Search
⌘K

Leetcode 1907. Count Salary Categories

Classify each account's income into three salary buckets (<20000, 20000–50000, >50000) and return the count of accounts in each category, ensuring all three categories appear even if their count is zero.


Question Timeline

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

Comments

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