Back to Browse

Count Mentions Per User | Leetcode 3433 | DSA | Hindi | Code With Deepak

67 views
Dec 12, 2025
16:20

In this video, we solve Leetcode 3433. Count Mentions Per User using Java. Question Link - https://leetcode.com/problems/count-mentions-per-user/description/?envType=daily-question&envId=2025-12-12 Solution: https://github.com/deepak-sharma-iOS/Leetcode-Daily-Challenge/blob/main/Leetcode-3433.java Summary: **The solution sorts all events by timestamp (processing OFFLINE before MESSAGE), tracks each user's offline duration with a map, and restores them online when their cooldown ends. For each MESSAGE event, it increments mention counts based on tokens (`ALL`, `HERE`, or `idX`) and the current online status. Finally, it returns the total mentions for each user.** Subscribe - https://www.youtube.com/@DebugWithDeepak Github - https://github.com/deepak-sharma-iOS/Leetcode-Daily-Challenge Linkedin - https://www.linkedin.com/in/deepak-sharmaa-dev/ #CodeWithDeepak #LeetCodeDailyChallenge #LeetCodeSolutions #DSAforInterviews #CodingWithExplanation #TechInterviewPrep #CrackTheCodingInterview #DailyCodingChallenge #JavaCoding #LearnToCode #CodingShorts #leetcodedailychallenge #euclidean

Download

0 formats

No download links available.

Count Mentions Per User | Leetcode 3433 | DSA | Hindi | Code With Deepak | NatokHD