Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1113. Reported Posts
Given a list of users and report events of the form (reporter -> post), deduplicate multiple reports by the same reporter, count reports per post, and mark any post with at least k reports as sanctioned. Return for each user how many of their reports led to a sanctioned post — solved with hashing/sets and counting maps.
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.