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.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.