
Diwakar Prakash
@DPrakash90053
Followers
27
Following
1K
Media
130
Statuses
155
Leetcode 30 — Substring with Concatenation of All Words.Solved this tough one today! Learned a LOT about sliding window, hashmap, and fixed-length word logic. #Leetcode #100DaysOfCode #DSA #Coding #Java #TechTwitter #ProblemSolving
0
0
9
Leetcode 30 .1.2 hrs deep. passed 181/182 test cases — then TLE .Sometimes it's frustrating to pour in focus, only to fall short at the end. Will do it tomorrow, in my DSA session. #Leetcode #DSA #Java #HardProblem #KeepPushing #100DaysOfCode #CodeNewbie
0
0
7
LeetCode 1347 – Min Steps to Make Anagram.Used two HashMaps to compare char frequencies .It’s all about balancing what one string has vs. what the other needs ⚖️.#LeetCode #HashMap #Java #DSA #100DaysOfCode #CodingJourney #TechTwitter
0
0
9
LeetCode 451 – Sort Characters by Frequency.Used HashMap to count & MaxHeap (PriorityQueue) to sort chars by freq 🔁.Loved how data structures fit together to solve this! 🔥.#LeetCode #PriorityQueue #HashMap #Java #DSA #TechTwitter #100DaysOfCode
0
0
10
LeetCode 1838 . Tried O(n²) at first, got TLE 😅.Learned the beauty of sliding window for optimization!.Tracking window sum smartly helped boost the freq count .Felt amazing solving & learning this one!.#LeetCode #SlidingWindow #DSA #100DaysOfCode #CodeNewbie #Java #TechTwitter
2
0
17
LeetCode 767 🧩.Solved using HashMap + PriorityQueue to arrange chars so no two adjacent are the same .Tough one but super satisfying! .Learning how to balance character frequencies . #LeetCode #PriorityQueue #HashMap #DSA #100DaysOfCode #TechTwitter #Java
0
0
11
LeetCode 560 ✅.Solved using prefix sum + hashmap to count subarrays with sum K 💡.Sliding window doesn’t work for negatives — hashmap is the hero here!.Hashing mastery in progress .#LeetCode #HashMap #DSA #100DaysOfCode #CodingLife #TechTwitter #Java
0
0
8
Solved LeetCode 128 .Used a HashSet to track sequence starts and expand forward to count length. O(n) time — no need to sort!.Hashing makes problems like these super clean 🧠.#LeetCode #HashSet #DSA #CodingJourney #100DaysOfCode #TechTwitter #Java
0
0
11
LeetCode 205 – Isomorphic Strings .Continuing my HashMap practice! This one was very easy 😄.Simple mapping logic sealed the deal .#LeetCode #HashMap #Java #100DaysOfCode #DevCommunity #TechTwitter #CodingJourney
3
0
15
Continuing my HashMap grind 💪.Solved LeetCode 347 – Top K Frequent Elements 🔥.Used frequency map + sorting logic to crack it .Loving how HashMaps simplify problems like these!.#LeetCode #HashMap #DSA #Java #100DaysOfCode #CodingJourney #TechTwitter
0
0
5
Been off DSA for a while due to semester + dev grind 😅.Back now & focusing on HashMap/HashSet—my weak zone 💪.Solved LeetCode 49 (Group Anagrams) using hashing logic 🧠.#LeetCode #HashMap #100DaysOfCode #Java #TechTwitter #CodingJourney
0
0
5
LeetCode 992 – Subarrays with K Distinct Integers.Used sliding window + map to count subarrays with exactly K unique numbers 💡.It was a good one. #LeetCode #SlidingWindow #TypeScript #100DaysOfCode #TechTwitter #CodingJourney
0
0
4
LeetCode 1248 – Count Nice Subarrays.Solved using sliding window + prefix count .Tracked subarrays with exactly k odd numbers .#SlidingWindow #TypeScript #LeetCode #100DaysOfCode #TechTwitter #CodeNewbie
0
0
4
Earned the 100 Days Badge on LeetCode 🧠.But honestly, it’s never been about numbers. Without real knowledge and depth, badges are just pixels. Staying consistent to grow — not to show. #LeetCode #DSA #100DaysOfCode #TechTwitter #CodeNewbie
1
0
4
LeetCode 930 – Binary Subarrays With Sum. Used the sliding window + prefix trick:.Count subarrays with sum ≤ goal, and subtract those with sum ≤ goal - 1. Smart way to get exact matches efficiently 💡. #LeetCode #SlidingWindow #TypeScript #100DaysOfCode #TechTwitter
0
0
7
LeetCode 1358 🔍.Solved using sliding window to count substrings with at least one 'a', 'b', and 'c'. Great problem to strengthen string & two-pointer skills!.#LeetCode #SlidingWindow #Strings #JavaScript #TypeScript #100DaysOfCode #TechTwitter #DSA
0
0
3
LeetCode 2009 🧩.Used a sliding window after removing duplicates & sorting to find the longest continuous range. Answer = Total elements - max window size. Loved the optimization part! .#LeetCode #SlidingWindow #Java #TypeScript #100DaysOfCode #CodingLife #TechTwitter
0
0
3
LeetCode 904 : Fruit Into Baskets.Used sliding window to find the longest subarray with at most 2 types of fruits. Loved how Maps work differently in TypeScript vs Java—great learning!.#LeetCode #SlidingWindow #TypeScript #JavaScript #Coding #100DaysOfCode #TechTwitter
0
0
2
LeetCode 1004 – Max Consecutive Ones III.Used sliding window to maximize 1s with at most k zero flips 💡.Learnt a lot about how hash & strings work in TypeScript—feels different from Java! 🧠.Leveling up every day .#LeetCode #SlidingWindow #TypeScript #100DaysOfCode #DevCommunity
1
0
15
LeetCode 3 .Used the sliding window + HashSet to find the longest substring without repeating characters. Great problem to build string + pointer intuition!.#LeetCode #TypeScript #SlidingWindow #100DaysOfCode #TechTwitter #CodingJourney
1
0
10