
Ajeet Kumar Upadhyay
@ajeetkrup401
Followers
13
Following
38
Media
92
Statuses
347
Frontend Developer | React.js & Next.js Expert | Building Scalable Web Applications | AWS & Microservices | 2+ Years Experience
Jharkhand, India
Joined January 2024
0
0
0
0
0
2
0
0
3
0
0
2
Day 2 - Cracked βMinimum Operations to Make the Integer Zeroβ π― Key insight: play with num1 - k*num2, then check bitcount(x) β€ k β€ x. Debugged JS bitCount (32-bit bug!) & got the right answer π‘ #LeetCode #JS #100DaysOfCode
0
0
3
Solved Cheapest Flights Within K Stops on LeetCode! π Runtime: 18ms (Top 20%), Memory: 62MB (Top 15%) π Graph + BFS approach nailed it. #LeetCode #JavaScript #Coding #DSA #100daysofcoding
0
0
2
0
0
3
0
0
1
It's 3:42 AM, grinding π₯π₯π₯ Solved network delay time with Dijkstra #DSA #LeetCode #100DaysOfCode
0
0
1
Cracked Dijkstra π Built it from scratch with a custom MinHeap π» Debugged bubbleDown bug (forgot .dist) & now shortest paths work like charm! π Graphs feel less scary now π #100DaysOfCode #DSA #100DaysOfCode
0
0
0
Minheap simulation causing TLE in Dijkstra's algorithm, needs optimization. #DSA #algorithm #100DaysOfCode
0
0
0
π₯ Just crushed the Connected Components problem using Disjoint Set Union! β¨ Path compression + Union by rank = O(Ξ±(n)) magic π From confused to confident in graph algorithms Who else loves that moment when DSU just clicks? #DSA #Algorithms #LeetCode
0
0
2
π Solved course schedule with Kahn's topological sort! β
Find courses w/ no prereqs β
Take them & remove dependencies β
Repeat until done! Algorithm handles the planning! π #LeetCode #DSA #100DayChallenge
0
0
3
π Woohoo! Just cracked topological sorting with Kahn's algorithm! The secret sauce: Find nodes with no dependencies Remove them & update neighbors Repeat until done Perfect for course scheduling & build systems! π #DSA #Algorithms #100DayChallenge
0
0
3
Cracked Course Completion π If cycle exists β no course can be finished π Else β all courses possible β
Cycle detection in DAG = key π #DSA #Graph #TopologicalSort #100DaysOfCode
0
0
0
π₯ Some sweat, some bit magic! Learned BFS + Bitmask trick & cracked Shortest Path Visiting All Nodes π From brute confusion β‘οΈ elegant state tracking. Feels good! π‘ #LeetCode #DSA #BFS #100DaysOfCode
0
0
5
Hehe cracked the classic Number of Islands πποΈ with DFS β just a matter of understanding the game. Grid = graph, islands = connected components. Once that clicked, everything else fell in place! #DSA #100DaysOfCode #algorithms #graphs
0
0
0