
Muzamil Naik
@M_Codes6
Followers
1K
Following
5K
Media
519
Statuses
3K
πΈοΈ Web Dev || Learning....... DSA π» || π Explore: https://t.co/gcmaJPloF6 π GitHub: https://t.co/E6r73hzoTX
Kashmir π
Joined December 2020
π‘ Day 10 of #POTDwithGFG β Digging Through the DP Gold Mine!.π Problem: Max Gold Collection in a Grid with Diagonal Moves.βοΈ Used bottom-up DP from right to left β because sometimes, gold lies in looking back. #Day10 #100DaysOfCode #DynamicProgramming @geeksforgeeks
0
0
3
Day 114 β
| #gfg160 Challenge @geeksforgeeks.π Problem: Longest Palindrome in a String.π§ Approach: Dynamic Programming (Bottom-Up).π Checked all substrings and tracked the longest palindrome. #Python #DynamicProgramming #Palindrome #100DaysOfCode #gfgPractice #geekstreak2025
0
0
3
RT @geeksforgeeks: Code is like poetry . Some get it, some donβt. Those who donβt get it, are confused . Those who get it, are even more coβ¦.
0
63
0
π’ Day 9 of #POTDwithGFG.π Problem: Count binary strings with at least one pair of consecutive 1s.π Used DP to count strings without consecutive 1s β then subtracted from total. #Day9 #GFGPOTD #100DaysOfCode #DynamicProgramming #DSADaily #ConsistencyInCode.@geeksforgeeks
0
0
2
Day 113 β
| #gfg160 Challenge.@geeksforgeeks.π Problem: Longest Palindromic Subsequence.π§ Approach: Using Tabulation.Used two 1D arrays to reduce space while comparing substrings in Reverse. π T: O(nΒ²) | S: O(n). #Python #DynamicProgramming #LPS #100DaysOfCode #gfgPractice
2
0
13
π’ Day 8 of GFG POTD .π Problem: Find the Longest Word with All Prefixes Present.π Result: Simple logic, powerful outcome β another one done!. #Day8 #GFGPOTD #100DaysOfCode #DSADaily #PrefixGame #PythonSolutions @geeksforgeeks
0
0
7
Day 112 β
| #gfg160 Challenge @geeksforgeeks.π Problem: Longest Common Subsequence. π» Solved: Using Bottom-Up DP with a 2D table.π T: O(nΒ·m) | S: O(nΒ·m). #Python #DynamicProgramming #LCS #100DaysOfCode #gfgChallenge
1
0
9
π’ Day 7 of #GFG POTD.π Problem: Sum of Minimum Elements of All Subarrays.β
Used monotonic stack to calculate how many subarrays each element is the minimum of.π± Solved with clean O(n) logic β consistency leveling up!. #Day7 #GFGPOTD #100DaysOfCode #DSAMastery @geeksforgeeks
1
0
14
Day 111 β
| #gfg160 Challenge @geeksforgeeks.π Problem: Longest String Chain.π§ Approach: DP + Deletion-based predecessor check. #Python #DP #StringChain #100DaysOfCode #geekstreak2025 #gfgChallenge
0
0
2
π’ Day 6 of #GFG POTD .π Problem: Next Greater Frequency Element to the Right.π£οΈ Solved it on the phone while traveling β no excuses, just DSA!.π Applied frequency mapping + monotonic stack to track elements. #Day6 #GFGPOTD #100DaysOfCode #DSAonTheGo
0
0
3
Day 110 β
| #gfg160 Challenge @geeksforgeeks.π± Solved: LIS β on phone while traveling!.π― Goal: Find the length of the longest strictly increasing subsequence. π T: O(n log n) | S: O(n) using Binary Search. π More in ALT. #Python #DSA #100DaysOfCode #GeekStreak2025
0
0
1
π’ Day 5 of #GFG POTD .π Problem: Next Greater Element in Circular Array.π Circular arrays meet classic monotonic stack magic.π‘ Learned how to simulate circular behavior with 2*n loop. #Day5 #GFGPOTD #100DaysOfCode #StackProblem #NextGreaterElement #DSAChallenge
0
0
1
Day 109 β
| #gfg160 Challenge @geeksforgeeks.π Solved: Longest Bounded-Difference Subarray.π― Goal: Find the longest subarray where the difference between any two elements is β€ x. π T: O(n) | S: O(n).π More in ALT. #Python #DSA #100DaysOfCode #GeekStreak2025
1
0
8
π’ Day 4 of #GFG POTD Challenge.π Problem: Maximum Sum Combination.π§ Concept Used: Max Heap + Sorting + Visited Set.β
Learned how to smartly fetch the top K max pairs from two arrays. #Day4 #GFGPOTD #DSAChallenge #100DaysOfCode #HeapMagic #PythonCoding
0
0
5
Day 108 β
| #gfg160 Challenge @geeksforgeeks.π Solved: K Sized Subarray Maximum.π― Goal: Find the maximum in each subarray of size k. π T: O(n) | S: O(k).π More in ALT. #Python #DSA #100DaysOfCode #GeekStreak2025 #SlidingWindow #Deque
1
0
8
π’ Day 3 of GFG POTD Challenge β Tested & Conquered!.π Problem: Max Score from Subarray Mins.β Faced multiple TLEs and logical roadblocks.β
Finally cracked it using previous & next smaller element strategy (O(n)). #Day3 #GFGPOTD #DSAChallenge @geeksforgeeks
0
0
3
Day 107 β
| #gfg160 Challenge @geeksforgeeks.π Solved: Decode the String.π― Goal: Decode strings of the form k[encodedString] where the substring is repeated k times. π T: O(n) | S: O(n).π More in ALt. #Python #DSA #100DaysOfCode #GeekStreak2025
0
0
15
π’ Day 2 of POTD β Cracked It!.β
Solved: Subarrays With At Most K Distinct Integers.π§ Applied Sliding Window + HashMap to count all valid subarrays!.π₯ Faced a runtime error (typo!), debugged it, and nailed the logic. #Day2 #GFGPOTD #DSA #100DaysOfCode @geeksforgeeks
1
0
14
Day 106 β
| #gfg160 Challenge @geeksforgeeks.π Solved: Postfix Evaluation.π― Goal: Evaluate an arithmetic expression in Reverse Polish Notation (Postfix). π― Using Stac. π T: O(n) | S: O(n).πMore in ALT. #Python #DSA #100DaysOfCode #GeekStreak2025 #Stack #PostfixNotation
0
0
2