#twopointers search results
Just finished a power-packed session on the Two Pointer technique! 💥 Solved 1 GFG, 2 LeetCode & 1 InterviewBit problem. Massive shoutout to@CoderArmy & Rohit Negi Bhaiya for the crystal-clear explanations! Concepts Pura chamak gaiya bhaiya! 🔥🧠 #DSA #TwoPointers #CoderArmy
Today I >Solved a medium-level problem >Understood the Two-Pointer technique clearly >Studied Engg Physics for the end sem >Practised Engg Mathematics for the end sem >Met some friends and discussed our plans for the next semester ✨ #DSA #LeetCode #TwoPointers #GFG #Java
Problem:Remove duplicates from sorted array. Classic coding interview DSA problem! using Two Pointer approach ⚡ 2/🐢🐇Idea: One slow pointer (i)=tracks unique elements One fast pointer (j)=scans the array 🔑Logic: 👉If arr[i] != arr[j] #DSA #TwoPointers #Coding #LeetCode
LeetCode POTD ✅ | Easy Two-Pointer Approach 👇 Smooth and efficient! Just a simple two-pointer trick to solve it in O(n) time. Sometimes, the simplest techniques are the most powerful! 🚀 #LeetCode #TwoPointers #Coding
Day 152 of #365DaysOfCode of #DSA Solved a classic #TwoPointers problem — Q11 on #LeetCode. The biggest hurdle was truly understanding the problem statement, once that clicked, the solution flowed smoothly. #buildinginpublic #techtwitter #algorithms #Consistency
Solved “Container With Most Water” on @LeetCode using Two Pointer Technique 🧠💧 Start with left & right pointers Calculate area each step Move the shorter line pointer inward to find max area TC: O(n) | SC: O(1) #DSA #LeetCode #TwoPointers #Java #CodeNewbie #ProblemSolving
🥇 Solved Fruit Into Baskets using Sliding Window 🍉 ⏱ O(n) | 💾 O(1–2) #SlidingWindow #LeetCode #TwoPointers #DSA #Coding
✅ Day 113 — Solved Longest Substring Without Repeating Characters 🔁 Used sliding window + hashmap #LeetCode #100DaysOfCode #TwoPointers #HashMap #String
✅ Day 123 – Semester exams ✅ Back to grind: Removed extra duplicates keeping max 2 🧠 Two-pointers in-place 🕒 Runtime: 0 ms #LeetCode #TwoPointers #100DaysOfCode #C++
✅ Day 102 of #100DaysOfDSA 📍 LC 165: Compare Version Numbers • Split both version strings by '.' ✂️ • Compare each segment numerically 🔢 • Return -1, 0, or 1 based on comparison 🔁 ⏱ O(n) | 🗂 O(1) #Strings #TwoPointers #Java #LeetCode
Solved: “Maximum Matching of Players With Trainers” on LeetCode! 🏋️♂️ Used greedy + two pointers after sorting both arrays — matched players with trainers optimally. 📽 Full C++ explanation! #LeetCode #Greedy #TwoPointers #Cplusplus #DSA #100DaysOfCode #TechTwitter
✅ Day 121 of #150DaysOfDSA 📍 LC 392: Is Subsequence 🔎 Used a simple two-pointer scan — iterate through t and match characters of s in order. If all chars of s are found sequentially → it’s a subsequence ✅ O(n) time | O(1) space #TwoPointers #StringMatching
Solved"Product Pair" in GFG, using 2 pointers🧠 👉Sort array 👉Start=0, End=n-1 👉Multiply with 1LL (avoid overflow⚡) 👉Move smartly pointers until product found From O(n²) ➝ O(n log n) #DSA #Coding #TwoPointers #ProblemSolving #100DaysOfCode #LeetCode #GeeksforGeeks #Code
🚀#GFG160 – Day 55: Water Trapped, Logic Unwrapped! 💧📊 Solved the Trapping Rain Water problem today ✔️ Trapping Rain Water #TwoPointers #PrefixSum #ArrayProblems #GeeksforGeeks #100DaysOfCode #geekstreak2025 @geeksforgeeks
🔥 Day 124 – LeetCode 28: Find the Index of the First Occurrence in a String 🧵 Checked prefix with two pointers ⚡ Runtime: 0 ms #LeetCode #C++ #TwoPointers
𝟯𝗦𝘂𝗺 in O(n²) with two pointers—because sometimes three’s not a crowd, it’s the answer. 🔍💡 #100DaysOfCode #LeetCode #TwoPointers #day49 #ravixpanchal #GSV #DSA #buildinpublic #gsv @ai_ds_gsv , @LeetCode , @geeksforgeeks , @ShradhaKhapra_ , @ApnacollegeX , @sandeep_jain
✅ Day 122 — Minimum Size Subarray Sum 📌 Find the smallest window with sum ≥ target 🪟 Sliding window shrinks from the left when condition met 🕒 Runtime: 0 ms #LeetCode #SlidingWindow #TwoPointers #100DaysOfCode #C++
Today I >Solved a medium-level problem >Understood the Two-Pointer technique clearly >Studied Engg Physics for the end sem >Practised Engg Mathematics for the end sem >Met some friends and discussed our plans for the next semester ✨ #DSA #LeetCode #TwoPointers #GFG #Java
Day 14 : min sum index of two lists Logic: make two variables and play with them😃 #leetcode #java #twopointers #string #List #
Master DSA Patters Today I solved Valid Palindrome II: one deletion allowed Two pointers + skip-left/skip-right check → O(N). #DSA #TwoPointers #Coding #code #technology
"Solved LeetCode 345 today! Used the classic two-pointer technique to reverse only the vowels while keeping the rest of the string intact. #leetcode #dsa #twopointers #strings"
Day 12 : Special Discount in a shop Approach : Two pointers Logic : Travase and store discount value. #leetcode #java #Twopointers #logic
Day 3 – DSA 🔥 Solved two problems today using Two Pointers: • Indexes of Subarray Sum • Remove Duplicates from Sorted Array Learning step by step! #DSA #TwoPointers #100DaysOfCode #Coding
Today I solved. Boats to Save People: sort + two pointers → optimal pairing. Greedy logic cuts O(N²) → O(N log N). #DSA #TwoPointers #GreedyAlgorithms #code #tech
🚀 LeetCode Journey — Week 1 Day 2 🔹 Pattern: Two Pointers Solved: 1️⃣ LC 167 – Two Sum II 2️⃣ LC 977 – Sorted Squares Two pointers turning O(n²) → O(n). Learning the pattern deeply, one day at a time 🔥 #LeetCode #DSA #TwoPointers #100DaysOfCode
🚀 Day 24 on LeetCode 🧠 I solved: 🔹 125. Valid Palindrome 🔹 977. Squares of a Sorted Array Finally started exploring two-pointers 🏹 Even sick, consistency matters — small steps keep the momentum 💪 #LeetCode #JavaScript #TwoPointers #LearnInPublic #BuildInPublic
I Solved 3Sum Closest toda Used sorting + two-pointer pattern to find 3 numbers whose sum is closest to a target. Time: O(n²) Space: O(1) #DSA #CodingChallenge #TwoPointers #code #technology
Just finished a power-packed session on the Two Pointer technique! 💥 Solved 1 GFG, 2 LeetCode & 1 InterviewBit problem. Massive shoutout to@CoderArmy & Rohit Negi Bhaiya for the crystal-clear explanations! Concepts Pura chamak gaiya bhaiya! 🔥🧠 #DSA #TwoPointers #CoderArmy
Day 152 of #365DaysOfCode of #DSA Solved a classic #TwoPointers problem — Q11 on #LeetCode. The biggest hurdle was truly understanding the problem statement, once that clicked, the solution flowed smoothly. #buildinginpublic #techtwitter #algorithms #Consistency
✅ Day 113 — Solved Longest Substring Without Repeating Characters 🔁 Used sliding window + hashmap #LeetCode #100DaysOfCode #TwoPointers #HashMap #String
LeetCode POTD ✅ | Easy Two-Pointer Approach 👇 Smooth and efficient! Just a simple two-pointer trick to solve it in O(n) time. Sometimes, the simplest techniques are the most powerful! 🚀 #LeetCode #TwoPointers #Coding
🔥 Day 124 – LeetCode 28: Find the Index of the First Occurrence in a String 🧵 Checked prefix with two pointers ⚡ Runtime: 0 ms #LeetCode #C++ #TwoPointers
✅ Day 123 – Semester exams ✅ Back to grind: Removed extra duplicates keeping max 2 🧠 Two-pointers in-place 🕒 Runtime: 0 ms #LeetCode #TwoPointers #100DaysOfCode #C++
🚀 #GFG160 – Day 86: Pair Found in the BST! 🌳➕🌳 Solved the Pair Sum in BST problem today — used inorder traversal + two-pointer technique and learned dfs + set ✔️ Pair Sum in BST #TwoPointers #InorderTraversal #GeeksforGeeks #100DaysOfCode #geekstreak2025 @geeksforgeeks
✅ Day 122 — Minimum Size Subarray Sum 📌 Find the smallest window with sum ≥ target 🪟 Sliding window shrinks from the left when condition met 🕒 Runtime: 0 ms #LeetCode #SlidingWindow #TwoPointers #100DaysOfCode #C++
Day 29/100 - 100 Days of Code Solved the remaining Two Pointer problems on LeetCode today. This technique is powerful for optimizing array and string traversal while reducing time complexity. #100DaysOfCode #LeetCode #TwoPointers #DSA
🥇 Solved Fruit Into Baskets using Sliding Window 🍉 ⏱ O(n) | 💾 O(1–2) #SlidingWindow #LeetCode #TwoPointers #DSA #Coding
Problem:Remove duplicates from sorted array. Classic coding interview DSA problem! using Two Pointer approach ⚡ 2/🐢🐇Idea: One slow pointer (i)=tracks unique elements One fast pointer (j)=scans the array 🔑Logic: 👉If arr[i] != arr[j] #DSA #TwoPointers #Coding #LeetCode
🚀#GFG160 – Day 55: Water Trapped, Logic Unwrapped! 💧📊 Solved the Trapping Rain Water problem today ✔️ Trapping Rain Water #TwoPointers #PrefixSum #ArrayProblems #GeeksforGeeks #100DaysOfCode #geekstreak2025 @geeksforgeeks
𝟯𝗦𝘂𝗺 in O(n²) with two pointers—because sometimes three’s not a crowd, it’s the answer. 🔍💡 #100DaysOfCode #LeetCode #TwoPointers #day49 #ravixpanchal #GSV #DSA #buildinpublic #gsv @ai_ds_gsv , @LeetCode , @geeksforgeeks , @ShradhaKhapra_ , @ApnacollegeX , @sandeep_jain
🚀 #GFG160 – Day 56: Maximum Water Secured! 🪣📐 Solved the Container With Most Water problem today ✔️ Container With Most Water #TwoPointers #Greedy #ArrayProblems #GeeksforGeeks #100DaysOfCode #geekstreak2025 @geeksforgeeks
Something went wrong.
Something went wrong.
United States Trends
- 1. #GMMTV2026 2.79M posts
- 2. MILKLOVE BORN TO SHINE 438K posts
- 3. Good Tuesday 30.1K posts
- 4. #tuesdayvibe 2,241 posts
- 5. Mark Kelly 217K posts
- 6. WILLIAMEST MAGIC VIBES 59.2K posts
- 7. Chelsea 223K posts
- 8. MAGIC VIBES WITH JIMMYSEA 73.8K posts
- 9. JOSSGAWIN MAGIC VIBES 24.6K posts
- 10. TOP CALL 9,549 posts
- 11. Alan Dershowitz 3,360 posts
- 12. AI Alert 8,354 posts
- 13. #JoongDunk 111K posts
- 14. Check Analyze 2,525 posts
- 15. Naps 2,913 posts
- 16. Token Signal 8,775 posts
- 17. #ONEPIECE1167 8,718 posts
- 18. Hegseth 100K posts
- 19. Maddow 15.7K posts
- 20. Barca 86K posts