← All problemsSign in

3433. Count Mentions Per User

LeetCodeArrayMathSortingSimulationOpen on judge ↗

You are given an integer numberOfUsers representing the total number of users and an array events of size n x 3. Each events[i] can be either of the following two types: - Message Event: ["MESSAGE", "timestampi", "mentions_stringi"] - This event indicates that a set of users was mentioned in a message at timestampi. - The mentions_stringi string can contain one of the following tokens: - id<

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start