SumitKumar9128 Profile Banner
Sumit Kumar Profile
Sumit Kumar

@SumitKumar9128

Followers
233
Following
2K
Media
465
Statuses
762

Backend developer with a passion for solving real-world problems. Maintaining my streak on GeeksforGeeks and LeetCode, one challenge at a time!

India
Joined February 2024
Don't wanna be here? Send us removal request.
@SumitKumar9128
Sumit Kumar
1 year
Excited to share that I won the 21-Day #geekstreak2024 Challenge with @DeutscheBank and @geeksforgeeks , This challenge motivated me to explore new challenges and grow my skills. Thank you for this amazing experience and the exclusive DB-sponsored bag! 🎒
4
0
26
@SumitKumar9128
Sumit Kumar
13 hours
🔥 Day 430 of #geekstreak2025 ✅ GFG POTD: Minimum Cost to Cut a Stick 💡 Used interval dp added boundaries, sorted cuts, and computed minimum cost using dp[i][j] over all possible first cuts. #dsa #gfg #dp
0
0
1
@SumitKumar9128
Sumit Kumar
1 day
Posting from mobile..😅
0
0
3
@SumitKumar9128
Sumit Kumar
3 days
🔥 Day 428 of #geekstreak2025 ✅ GFG POTD: Interleaved Strings #geekstreak2025 @gfg #dsa
0
0
1
@SumitKumar9128
Sumit Kumar
5 days
🔥 Day 426 of #geekstreak2025 ✅ GFG POTD: Shortest Common Supersequence 💡 Used Dynamic Programming built the LCS table to find the length of the shortest string that contains both s1 and s2 as subsequences. formula used: len = n + m - LCS(s1, s2) #dsa #gfg #java
0
0
3
@SumitKumar9128
Sumit Kumar
5 days
🔥 Day 425 of #geekstreak2025 ✅ GFG POTD: Stock Buy and Sell with Cooldown 💡 Used Dynamic Programming (state compression) maintaining 3 states: dp0: not holding, no cooldown dp1: holding a stock dp2: in cooldown after selling #dsa #java #dynamicprogramming #geekstreak2025
1
0
5
@SumitKumar9128
Sumit Kumar
6 days
🔥 Day 424 of #geekstreak2025 ✅ GFG POTD: Chocolate Pickup II 💡 Solved using 3d dynamic programming treated two paths moving simultaneously and maximized total chocolates while avoiding blocked cells (-1), used dp state (i, j, k) representing two travelers positions. #dsa #gfg
0
0
2
@SumitKumar9128
Sumit Kumar
7 days
🔥 Day 423 of #geekstreak2025 ✅ GFG POTD: Number of paths in a matrix with k coins 💡 Solved using Recursion + 3D DP memoization tracked position (i, j) and coin sum to count all valid paths. #dsa #gfg #java #dynamicprogramming #recursion #geekstreak2025
0
0
2
@SumitKumar9128
Sumit Kumar
8 days
🔥 Day 422 of #geekstreak2025 ✅ GFG POTD: Weighted Job Scheduling 💡 Solved using dynamic programming + binary search picked the optimal non-overlapping job for max profit. #dsa #gfg #java #dynamicprogramming #geekstreak2025
0
0
3
@SumitKumar9128
Sumit Kumar
9 days
🔥 Day 421 of #geekstreak2025 ✅ GFG POTD: Ways To Tile A Floor 💡 Used a Fibonacci-based DP relation each tile arrangement depends on the previous two configurations. #dsa #gfg #java #dynamicprogramming #geekstreak2025
0
0
3
@SumitKumar9128
Sumit Kumar
11 days
🔥 Day 419 of #geekstreak2025 ✅ GFG POTD: Frog Jump 💡 Solved using recursion + memoization to minimize energy cost while jumping 1 or 2 steps. classic dp on 1d state.... #dsa #gfg #java #dynamicprogramming #geekstreak2025
1
0
4
@SumitKumar9128
Sumit Kumar
12 days
🔥 Day 418 of #geekstreak2025 ✅ GFG POTD: Safe States 💡 Reversed the graph and used Kahn’s Algorithm to detect nodes that eventually lead to terminal nodes... #dsa #gfg #java #graph #topologicalsort #geekstreak2025
0
0
2
@SumitKumar9128
Sumit Kumar
13 days
🔥 Day 417 of #geekstreak2025 ✅ GFG POTD: Max DAG Edges 💡 Used topological sort to find a valid ordering of nodes, then counted all possible edges that can be added without forming a cycle. #dsa #gfg #java #graph #topologicalsort #geekstreak2025
0
0
5
@SumitKumar9128
Sumit Kumar
14 days
🔥 Day 416 of #geekstreak2025 ✅ GFG POTD: Course Schedule II 📚 Solved using Kahn’s Algorithm , pushed 0 - degree nodes into a queue, and built a valid course order efficiently. #dsa #gfg #java #graph #topologicalsort #geekstreak2025
0
0
3
@SumitKumar9128
Sumit Kumar
15 days
🔥 Day 415 of #geekstreak2025 ✅ GFG POTD: Shortest Cycle 🧠 Applied BFS from every node while tracking parent nodes detected cycles and updated the shortest length dynamically. #dsa #gfg #java #graph #bfs #geekstreak2025
1
0
5
@SumitKumar9128
Sumit Kumar
17 days
🔥 Day 414 of #geekstreak2025 ✅ GFG POTD: Replace O’s with X’s 🧠 Used DFS from boundary O’s to mark safe regions then flipped the rest to X’s. A neat application of flood fill logic to isolate enclosed areas #dsa #gfg #java #dfs #matrix #geekstreak2025
0
0
3
@SumitKumar9128
Sumit Kumar
17 days
🔥 Day 413 of #geekstreak2025 ✅ GFG POTD: Graph Diameter 🧠 Applied double BFS first to find the farthest node, second to compute the maximum distance #dsa #gfg #java #graph #bfs #geekstreak2025
0
0
6
@SumitKumar9128
Sumit Kumar
19 days
🔥 Day 412 of #geekstreak2025 ✅ GFG POTD: Distance of Nearest Cell Having 1 🧠 Used multi-source BFS pushed all 1s as starting points and expanded outward to compute the shortest distance for every cell. clean grid traversal logic using a queue-based approach #dsa #gfg #java
0
0
3
@SumitKumar9128
Sumit Kumar
19 days
🔥 Day 411 of #geekstreak2025 ✅ GFG POTD: Find K Smallest Sum Pairs 🧠 Used a min-heap to efficiently pick the next smallest pair sum pushing only relevant combinations instead of all possible ones. #dsa #gfg #java #heap #priorityqueue #geekstreak2025
0
0
1
@SumitKumar9128
Sumit Kumar
21 days
🔥 Day 410 of #geekstreak2025 ✅ GFG POTD: Minimum Cost of Ropes 🧠 Solved using a min-heap (priorityqueue) always connect the two smallest ropes first to minimize total cost. #dsa #gfg #java #heap #priorityqueue #greedy #geekstreak2025
0
0
11
@SumitKumar9128
Sumit Kumar
22 days
🔥 Day 409 of #geekstreak2025 ✅ GFG POTD: Minimum Steps to Halve Sum 🧠 Used a max-heap (priorityqueue) to repeatedly halve the largest element until total sum dropped to half. #dsa #gfg #java #heap #priorityqueue #greedy #geekstreak2025
0
0
4