Hash Map
LeetCode 496: Next Greater Element I (Monotonic Stack)
·2 mins
LeetCode
Daily
Easy
Array
Stack
Monotonic-Stack
Hash Map
Next Greater Element
Monotonic decreasing stack over nums2 to build next-greater map; answer queries for nums1.
LeetCode 30: Substring with Concatenation of All Words (Brute Force → Counting → Sliding Window)
·3 mins
LeetCode
Daily
Hard
String
Sliding Window
Two Pointers
Hash Map
Frequency-Counter
Brute-Force
Three approaches: brute force, counting optimization, and sliding window over word-length offsets.
LeetCode 1497: Check If Array Pairs Are Divisible by k (Remainder Pairing, Modulo)
·2 mins
LeetCode
Daily
Medium
Array
Hash Map
Modulo
Math
Counting
Complement
Remainder pairing with a hash map; handle 0 and k/2 remainders carefully.
LeetCode 904: Fruit Into Baskets
·3 mins
LeetCode
Daily
Medium
Sliding Window
Hash Map
Two Pointers
Variable Window
LeetCode Problem Solving - Variable Size Sliding Window with Hash Map
LeetCode 76: Minimum Window Substring
·3 mins
LeetCode
Daily
Hard
Sliding Window
String
Hash Map
Two Pointers
Variable Window
LeetCode Problem Solving - Variable Size Sliding Window with Character Counting
LeetCode 1399: Count Largest Group
·1 min
LeetCode
Daily
Easy
Hash Map
LeetCode Problem Solving
LeetCode 2325: Decode the Message
·1 min
LeetCode
Hash Map
Easy
LeetCode Problem Solving