
Prymo
@prymo07
Followers
4
Following
14
Media
121
Statuses
175
Joined October 2024
๐งฎ Day 117 #GFG160 โ Count Staircase Ways (Optimized). Solved: Ways to reach n stairs using Matrix Exponentiation.โ Used Fibonacci logic with T(n) = O(log n).โ Identity matrix + binary power.โ Massive speed boost over recursion.@geeksforgeeks.#GeekStreak2025 #DSA #Python
0
1
0
โ๏ธ Day 116 #GFG160 โ Edit Distance. Solved: Min operations to convert s1 โ s2.โ Space-optimized 1D DP.โ Compared chars, allowed insert/delete/replace.โ Classic O(mรn) solution. @geeksforgeeks #GeekStreak2025 #DSA #Python
0
1
0
๐ Day 115 #GFG160 โ Count Palindromic Substrings. Solved: Counted all substrings with len โฅ 2 that are palindromes.โ Bottom-up 2D DP.โ Checked s[i] == s[j] & inner substring.โ Skipped length 1 by design.@geeksforgeeks.#GeekStreak2025 #DSA #Python #Palindrome
0
1
0
๐ซ Day 114 #GFG160 โ Longest Palindromic Substring. Solved: Found max-length palindrome in a string.โ Center expansion (odd + even).โ Checked both directions.โ Greedy + O(nยฒ) time, O(1) space.@geeksforgeeks.#GeekStreak2025 #DSA #Python #Palindrome โ
0
0
0
๐ช Day 113 #GFG160 โ Longest Palindromic Subsequence. Solved: Max length of a palindromic subsequence.โ Compared ends: if match โ +2.โ Used 1D space-optimized DP.โ Classic DP twist on LCS logic.@geeksforgeeks #GeekStreak2025 #DSA #Python #DynamicProgramming โ
0
0
0
๐ Day 112 #GFG160 โ Longest Common Subsequence. Solved: Find longest shared pattern in 2 strings.โ Classic DP with 2D table.โ Compared chars & stored best match.โ Optimal tabulation, O(mรn) time.@geeksforgeeks.#GeekStreak2025 #DSA #DynamicProgramming #Python โ
0
0
0
IBM deserves appreciation for their SkillBuild program. I am really impressed with them. Watch this ๐๐๐. @IBM @ibm_in @IBMDeveloper.
0
0
0
๐ Day 110 #GFG160 โ Longest Increasing Subsequence. Solved: LIS using DP.โ Compared each pair i > j.โ Stored max length at each step.โ Classic O(nยฒ) tabulation approach. @geeksforgeeks.#GeekStreak2025 #DSA #Python #DynamicProgramming โ
0
0
0
๐ Day 109 #GFG160 โ Longest Subarray with Bounded Diff. Solved: Longest subarray with |maxโmin| โค X.โ Used 2 deques for min/max tracking.โ Sliding window with monotonic queue.โ Optimal: O(n) time.@geeksforgeeks.#GeekStreak2025 #DSA #SlidingWindow #Deque #Python โ
0
0
1
๐งฉ Day 107 #GFG160 โ Decode Nested Strings. Solved: Decoded "3[b2[ca]]" โ "bcacabcacabcaca".โ Pure string ops, no stack used.โ Tracked [ to build pattern.โ Backtracked + repeated efficiently. @geeksforgeeks.#GeekStreak2025 #DSA #Python #String โ
0
0
1
๐ฅ Day 106 of #GFG160 : Postfix Expression Evaluation.๐งฑ Stack stores operands.โ Apply operator on top 2.๐ง Truncate on / to mimic int division. #DSA #GeekStreak2025 @GeeksforGeeks โ
0
0
0
๐ #GFG160 โ Day 105.Solved: Min Stack in O(1) Time & Space. โจ Math trick to store previous min.๐ Constant-time push/pop/peek/getMin.๐ง No extra space needed. #DSA #GeekStreak2025 #GFG160 @GeeksforGeeks โ
0
0
1
๐ช Day 104 #GFG160 โ Max of Min for Every Window Size. โ Found max of minimums for all window sizes.โ Used monotonic stack + range mapping.โ O(n) efficient, handles all subarray sizes.@geeksforgeeks #DSA #Stack #GeekStreak2025 #Python
0
0
0
๐ Day 103 #GFG160 - Lrgst Rect in Histo!. Solv: Max area in histo w/ stack.โ O(n) time, eff w/ mono stack.โ All bars as rect bases.โ Smart width calc.Trick: Store idx, not hts โ calc width on fly!.@geeksforgeeks #GeekStreak2025 #DSA #Stacks #Python
0
0
1
๐ Day 102 #GFG160 - Stock Span Problem!. โ Used monotonic stack.โ O(n) time โ each index pushed/popped once.โ Real-world pattern: Stock trend analysis.Key trick: Count consecutive smaller values from left using stack. @geeksforgeeks #GeekStreak2025 #DSA #Stacks #Python
0
0
1
๐ฏ days. 100 problems. 100 solutions. ๐ป What I did?. โ
Built daily consistency.โ
Mastered DSA with patterns.โ
Boosted my problem-solving speed.โ
One step closer to my dream tech role!.๐ This wasnโt just about code. It was about discipline, grit, and growth. @geeksforgeeks.
0
0
0
๐ Day 101 #GFG160 - Next Greater Element!. Solved: Found next greater for each array item.โ Monotonic stack โ fast lookup.โ O(n) time, single pass.โ Right-to-left traversal keeps stack sorted. @geeksforgeeks #GeekStreak2025 #DSA #Stack #Python #NextGreater
1
0
1
๐ฅณ Day 100 #GFG160 - Longest Valid Parentheses!. Solved: Found max length of balanced brackets.โ Two-pointer scan from both sides.โ Handles extra opening/closing cases.โ O(n) time, constant space. @geeksforgeeks #GeekStreak2025 #DSA #String #Python #Milestone
1
0
1
๐งฉ Day 99 #GFG160 - Balanced Parentheses!. Solved: Checked if expression has matching brackets.โ Stack-based validation.โ Handles all 3 bracket types.โ Clean O(n) solution.Key trick: Stack top must match closing bracket type!.@geeksforgeeks #GeekStreak2025 #DSA #Stacks
0
0
0
๐ Day 98 #GFG160 - Median of Running Stream!. Solved: Tracked live medians using two heaps.โ Max heap + min heap = dynamic balance.โ O(log n) insertions.โ Accurate medians at every step. @geeksforgeeks #GeekStreak2025 #DSA #Heaps #Python #MedianInStream
0
0
0