Explore tweets tagged as #monotonicStack
@sachinkg_13
Sachin kumar Gupta
2 months
✅ Day 102 #gfg160. 📍 Q: Stock Span Problem.📈 Used a stack to efficiently calculate span for each stock price. ⚙️ Time Complexity: O(N). #DSA #Stack #StockSpan #MonotonicStack #100DaysOfCode #CPlusPlus
Tweet media one
0
0
2
@sachinkg_13
Sachin kumar Gupta
2 months
✅ Day 104 #gfg160. 📍 Q: Max of Min for Every Window Size.🧮 Solved using Monotonic Stack to find Previous and Next Smaller Elements. 📊 Time Complexity: O(N). #DSA #SlidingWindow #Stack #MonotonicStack #MaxOfMin #100DaysOfCode #CPlusPlus
Tweet media one
0
0
3
@YashPor22727500
Yash Porwal
14 days
✅ Day 45 of #100DaysOfCode.Solved "Final Prices With a Special Discount in a Shop" 🛒 on LeetCode.#LeetCode #Stack #MonotonicStack #Discounts #Python #DSA #ProblemSolving #100DaysChallenge #DrGVishwanathan
Tweet media one
0
0
5
@keshav_awa93041
Keshav Awasthi
2 months
💯 Day 102 – #gfg160.📍 Stock Span Problem.🧠 Used Monotonic Stack (Increasing) approach. #DSAStreak #160DaysOfCode #StackProblems #geekstreak2025 #javaDSA #gfgpractice #gfg167 #monotonicStack #dsaChallenge
Tweet media one
0
0
0
@__Rishiiii__
Rishi Jaiswal
2 months
✅ POTD Done!.🔍 Next Element with Greater Frequency — loved solving this one using Monotonic Stack logic!.Thanks to @striver_79 & @takeUforward_ for the 🔥 A2Z DSA Sheet — it keeps sharpening the edge every day 💪.#GFG #DSA #POTD #100DaysOfCode #A2ZDSA #MonotonicStack
Tweet media one
2
0
9
@sachinkg_13
Sachin kumar Gupta
2 months
✅ Day 103 #gfg160. 📍 Q: Histogram Max Rectangular Area.🧱 Solved using Monotonic Stack to find nearest smaller to left and right for each bar. 📊 Time Complexity: O(N). #DSA #Stack #Histogram #MaxRectangle #MonotonicStack #100DaysOfCode #CPlusPlus
Tweet media one
0
0
1
@janvi_0x
Janvi
24 days
Day 50/100 — Dev Log. - Started a small Python project 🐍.- Solved Daily Temperatures (monotonic stack) 🔥.- Wrapped up some college work too ✅.#100DaysOfCode #Python #LeetCode #DevJourney #MonotonicStack
Tweet media one
4
0
15
@keshav_awa93041
Keshav Awasthi
2 months
🔥 Day 104 – #gfg160 📷 Maximum of Minimum for Every Window Size 📷. #DSAStreak #160DaysOfCode #MonotonicStack #SlidingWindow #MaxOfMin #javaDSA #gfgpractice #dsaChallenge #geekstreak2025
Tweet media one
0
0
0
@__Rishiiii__
Rishi Jaiswal
2 months
🚀 Completed today's GFG POTD: Sum of Subarray Minimums 💡.Used Monotonic Stack to solve it efficiently in O(n) time!.Grateful to @striver_79 and @takeUforward_ for the awesome A2Z DSA Sheet 🙌.#DSA #A2ZDSA #GeeksForGeeks #StriverSheet #TakeUforward #MonotonicStack
Tweet media one
0
0
2
@keshav_awa93041
Keshav Awasthi
2 months
🔥 Day 103 – #gfg160.📍 Largest Rectangle in Histogram.🧠 Stack-based Solution (Monotonic Increasing Stack). #DSAStreak #160DaysOfCode #LargestRectangle #HistogramProblem #MonotonicStack #javaDSA #gfgpractice #geekstreak2025
Tweet media one
0
0
0
@Tripathi_2022_
Mayank Tripathi
2 months
✅ Day 103 of 160 - GFG DSA Challenge.🧠 Problem: Maximum Area Histogram.📌 Logic: Use a stack to find Nearest Smaller to Left & Right.⌛ Time Complexity: O(N). #DSA #cpp #Stack #MonotonicStack #gfg2025 #gfgstreak2025 #gfg160dayschallenges
Tweet media one
0
0
0
@ajeetkrup401
Ajeet Kumar Upadhyay
25 days
Solved Next Greater Element I using a 🔁 monotonic decreasing stack!.Preprocessed nums2 in O(n), mapped next greater, and answered nums1 in O(1) lookups. From brute to beauty. 😎.#JavaScript #LeetCode #MonotonicStack #DSA #100DaysOfCode
Tweet media one
0
0
2
@aditya_7989
aditya prajapati
2 months
🔥 Day 98 of #GFG160.Today's challenge: Sum of Subarray Minimums 💡.Solved using Monotonic Stack for O(n) efficiency! 🚀.@geeksforgeeks.#gfg160 #geekstreak2025 #MonotonicStack #CP #CodingChallenge
Tweet media one
0
0
2
@ShuryanshG2111
Shuryansh Gupta
9 days
🟢 Day 146/160 of the #GFG160 Challenge – 19 August 2025.✅ POTD – Farthest Smaller to the Right ↘️.Solved using a monotonic stack + binary search approach to efficiently track next smaller elements. #GFG160 #GeekStreak2025 #Arrays #MonotonicStack .@geeksforgeeks
Tweet media one
0
0
1
@DebangshuM07
Debangshu Mukherjee
2 months
📈 Day 101 of 160 Days of Coding #gfg160 #geekstreak2025.🎯 Problem: Next Greater Element.@geeksforgeeks #DSA #Stack #MonotonicStack
Tweet media one
0
0
0
@DebangshuM07
Debangshu Mukherjee
2 months
📊 Day 102 of 160 Days of Coding #gfg160 #geekstreak2025.🎯 Problem: Stock Span Problem.Used stacks to efficiently track spans of rising stock prices — because past performance does tell a story 📈.@geeksforgeeks #DSA #Stack #Greedy #MonotonicStack
Tweet media one
0
0
1
@romanrpm097
Kuldeep singh
2 months
✅ Day 47 of #100DaysOfCode.Solved 1 LeetCode challenge today!.🔹 Next Greater Element II (Monotonic Stack + Circular Array). #LeetCode #DSA #ProblemSolving #Stack #MonotonicStack #CircularArray #vitbhopal #DrGVishwanathan
Tweet media one
1
0
11
@ShuryanshG2111
Shuryansh Gupta
2 months
Day 105/80 of the #GFG160 Challenge – 10 July 2025 ✅.Solved POTD – Sum of Subarray Minimums 📊.Used a monotonic stack to efficiently compute previous and next smaller elements for each index .#GFG160 #GeekStreak2025.@geeksforgeeks.#MonotonicStack #Subarrays #DSA #100DaysOfCode
Tweet media one
0
0
6