Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2512. Reward Top K Students
Given lists of positive and negative words and one feedback report per student, compute each student's score (+3 per positive word, -1 per negative word) by scanning their report text, then return the top k student IDs ranked by descending score with ties broken by smaller ID (use hash sets for word lookup and sort or a heap to select top k).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.