Top Tweets for #TwoPointer
Day 187/365
Solved LeetCode Q633 today.
Two pointers over the squared values kept the search efficient.
A neat application of pointer techniques with a math twist.
#26meDSAkhatam #buildinpublic #TwoPointers #Math

Day 186/365
Solved LeetCode Q167 today.
Two pointers turned a sorted array into a linear-time solution.
A classic reminder that exploiting sorted order beats brute force.
#26meDSAkhatam #buildinpublic #TwoPointers #Arrays

New video about Challenge Neetcode [04] Problem Solving DSA Valid Palindrome
Link to full video
https://t.co/F5RxgJOHNv
#validpalindrome,
#palindromeproblem,
#leetcodevalidpalindrome,
#validpalindromesolution,
#validpalindromeexplained
#twopointers,
Day 155/365
Solved LeetCode Q2095 today.
Used slow and fast pointers to locate the middle node efficiently.
A neat linked list problem that reinforces pointer manipulation.
#26meDSAkhatam #buildinpublic #LinkedList #TwoPointers

Day 25 of CodeSprint 3.0🚀
Solved:
• Two Pointers + Greedy - Maximum Area Container
• Variable Size Sliding Window - Minimum Window Substring
Improved two pointers, greedy optimization, sliding window & string processing💻🔥
#DSA #CPP #CodeSprint3 #TwoPointers #SlidingWindow

Day 24 of CodeSprint 3.0🚀
Solved:
•Variable Size Sliding Window - Longest Valid Subarray
•Fast & Slow Pointer - Middle of Linked List)
Improved two pointers, sliding window, linked list traversal & linear-time optimization💻
#DSA #CPP #CodeSprint3 #TwoPointers #SlidingWindow

Day 24 of CodeSprint 3.0🚀
Solved:
•Variable Size Sliding Window - Longest Valid Subarray
•Fast & Slow Pointer - Middle of Linked List)
Improved two pointers, sliding window, linked list traversal & linear-time optimization💻
#DSA #CPP #CodeSprint3 #TwoPointers #SlidingWindow

Day 148/365
Solved LeetCode Q2161 today.
Partition Array According to Given Pivot.
Straightforward partitioning — preserving order made it slightly more interesting.
Clean implementation.
#26meDSAkhatam #buildinpublic #LeetCode #arrays #twopointers

Day 9 of CodeSprint 3.0 🚀
Solved:
• Sorted Squares Challenge.
• Netflix Watch History Analyzer.
Good practice for arrays, strings & clean C++ implementation. 💻
#buildinpublic #DSA #CPP #CompetitiveProgramming #Programming #vscode #DAY9 #arrays #strings #twopointers #sort

Day 140/365 of the DSA grind!
• Is Subsequence: Matched characters with a lagging pointer.
• Two Sum II: O(N) squeeze on a sorted array.
• Container With Most Water: Always abandon the shorter wall!
• 3Sum: Pinned a number and squeezed the rest, skipping duplicates.
#DSA #Java #100DaysOfCode #LeetCode #TwoPointers

Day 128/365
Solved LeetCode Q2540 today.
Minimum Common Value.
Two pointers made this one very clean and efficient.
Simple pattern, useful everywhere.
#26meDSAkhatam #buildinpublic #LeetCode #twopointers #arrays

Day 134/365: In-Place Array Manipulation!
• Merge Sorted Array (LC 88 | Solved by applying a reverse two-pointer strategy!)
• Remove Element (LC 27 | Fast/slow pointer compaction)
• Remove Duplicates (LC 26 | Unique overwrite logic)
• Remove Duplicates II (LC 80 | 2-occurrence j-2 pruning)
#DSA #Java #100DaysOfCode #TwoPointers

Day 119/365
Solved LeetCode Q228 today.
Summary Ranges.
Mostly careful pointer handling — simple idea, clean implementation.
Quick one today.
#26meDSAkhatam #buildinpublic #LeetCode #arrays #twopointers

Day 113/365
Solved LeetCode Q392 today.
Is Subsequence.
Simple two-pointer problem, but clean logic always feels satisfying.
Sometimes the easy ones are refreshing.
#26meDSAkhatam #buildinpublic #LeetCode #twopointers #strings

📅 Day 127 – DSA Journey Update
Done today:
🔹 Solved LC 76 – Minimum Window Substring
🔹 Practiced Fast & Slow Pointer pattern
Exploring different pointer techniques step by step ⚡
#DSA #CodingJourney #LeetCode #TwoPointers

📅 Day 126 – DSA Journey Update
Done today:
🔹 Solved LC 424, 485, 1004
🔹 Completed the daily question 💻
🔹 Wrapped up the Sliding Window pattern
Patterns getting sharper with practice ⚡
#DSA #CodingJourney #LeetCode #SlidingWindow

Day 54 of #100DaysOfDSA 🚀
Solved Pair Sum Problem on a sorted ArrayList using
👉 Two Pointer Approach
⚡ O(n) time | O(1) space
Simple logic, powerful optimization 💪
#DSAWithJava #TwoPointers #problemSolving

📅Today's LeetCode Random:"Longest Subarray of 1's After Deleting One Element"(Medium)
👨💻 Approach:
-> Used sliding window with at most one zero
-> Tracked last zero position to adjust left pointer
-> Updated max length for each right pointer
💡Lesson: Sliding window + careful zero tracking lets you handle "delete one" constraints efficiently.
#LeetCode #100DaysOfCode #SlidingWindow #TwoPointers

📅Today's LeetCode Random:
"Count Subarrays Where Max Element Appears at Least K Times" (Medium)
👨💻Approach:
-> Found the global max in the array
-> Used sliding window → expanded right, tracked currCnt of max
-> Shrunk from left when currCnt ≥ k
-> Added left each step to count valid subarrays
💡 Lesson: Sliding window + counting trick turns a brute force O(n²) into O(n).
#LeetCode #100DaysOfCode #SlidingWindow #TwoPointers

🔤 Day 176/365 #365DaysOfCode ✅
🔥 Solved LeetCode 345: Reverse Vowels #LeetCode
Approach: Two Pointers + Swap
⏱️ T.C:O(n) | 💾S.C:O(1)
💡 Key Insight:
- Left/right pointers meet → swap vowels
-Skip consonants efficiently
#DSA #TwoPointers
#StringManipulation

🚀Day 1 of DSA Journey: Tackled Array Problems Today, I solved two classic challenges 📷 Remove Element 📷#DSA #CodingJourney #Arrays #TwoPointers #100DaysOfCode
📆 LeetCode Log – July 30, 2025
Studying the Two Pointers technique:
✅ LC11: Container With Most Water – nailed the optimal solution after brute-force
🌀 LC42: Trapping Rain Water – still untangling the logic
Progress, not perfection 💪
#LeetCode #100DaysOfCode #TwoPointers
P2537: 🎯
Count the Number of Good Subarrays
You're given an array nums and an integer k.
Count how many subarrays have at least k pairs (i, j) such that i < j and nums[i] == nums[j].
🧠Approach:
1.) Used sliding window + freq map to track counts of elements.
2.) Every time pairs ≥ k, added n - right to result (since all rightward windows are valid).
3.) Shrunk the window from the left to maintain minimal valid window.
⏱Time: O(n)
💾Space: O(n)
🧩Pattern: Sliding Window + Count Pairs Trick
Another win powered by @striver_79 and @lovebabbar3.
#Leetcode #DSA #SlidingWindow #CPP #BuildInPublic #CodeHelp #TwoPointers #takeuforward
![axabhishek_0309's tweet photo. P2537: 🎯
Count the Number of Good Subarrays
You're given an array nums and an integer k.
Count how many subarrays have at least k pairs (i, j) such that i < j and nums[i] == nums[j].
🧠Approach:
1.) Used sliding window + freq map to track counts of elements.
2.) Every time pairs ≥ k, added n - right to result (since all rightward windows are valid).
3.) Shrunk the window from the left to maintain minimal valid window.
⏱Time: O(n)
💾Space: O(n)
🧩Pattern: Sliding Window + Count Pairs Trick
Another win powered by @striver_79 and @lovebabbar3.
#Leetcode #DSA #SlidingWindow #CPP #BuildInPublic #CodeHelp #TwoPointers #takeuforward](https://pbs.twimg.com/media/Gw4jYkFbcAAD3iC.jpg)
Day 24/90
✅ 3 Sum
Approach: Sort, then fix one number and use two pointers for the rest. Skip duplicates to get unique triplets!
#90DaysOfCode #DSA #Arrays #TwoPointers

📅 LeetCode Log – Jul 25, 2025
🎯 Focus: Two Pointers
✅ Two Sum II (#167)
→ Key: Use [left+1, right+1]
✅ Three Sum (#15)
→ Fix one, apply two pointers on rest
🔜 Next:
#11 Container With Most Water
#42 Trapping Rain Water
#LeetCode #DSA #TwoPointers #buildinpublic
![Ayush_is_on_X's tweet photo. 📅 LeetCode Log – Jul 25, 2025
🎯 Focus: Two Pointers
✅ Two Sum II (#167)
→ Key: Use [left+1, right+1]
✅ Three Sum (#15)
→ Fix one, apply two pointers on rest
🔜 Next:
#11 Container With Most Water
#42 Trapping Rain Water
#LeetCode #DSA #TwoPointers #buildinpublic https://t.co/dxtd47FqDK](https://pbs.twimg.com/media/GwtrVyDXUAA93wY.jpg)
Last Seen Hashtags on Sotwe
Most Popular Users

Elon Musk 
@elonmusk
239.5M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers
























