Explore tweets tagged as #TwoPointer
β
Day 47 of #100DaysOfCode.Solved 1 LeetCode challenge today!.1. Minimum Difference in Sums After Removal of Elements (POTD) .#LeetCode #DSA #ProblemSolving #hashtable #vit #challenge #DrGVishwanathan #sorting #algorithm #twopointer #String #Arrays #greedy #counting
0
0
4
Day 2/160 - GfG Challenge.Solved: Move all Zeros to End.Lang: C++ | Approach: Two-pointer (O(n)), stable order preserved. #GfG160 #DSA #Cpp #TwoPointer #ProblemSolving #GeeksforGeeks #100DaysOfCode
0
0
2
π§΅ Day 274 of #geekstreak2025.β
GFG POTD: K Closest Elements.π§ Used two-pointer shrink or binary search based approach to get the K elements closest to X. Sorted result for neatness. π #dsa #binarysearch #twopointer #array #potd #gfg274 #geekstreak2025
0
0
6
Container With Most Water π°.Two-pointer technique β O(n) | O(1).π Move pointer at smaller height.Fav LeetCode Medium in FAANG interviews! #LeetCode #TwoPointer #CodingPrep #EngineeringLife #day5 #dsachallenge #cplusplus
0
0
2
LeetCode 27 uses the two-pointer approach to remove a target value from an array in place. Valid elements are moved forward, and the count of non-target elements is returned. Simple and efficient. Watch: #leetcode #twopointer #javascript #100daysofcode
0
1
4
β
Day 46 of #100DaysOfCode.Solved 1 LeetCode challenge today!.πΉ Rearrange Array Elements by Sign (Two-Pointer ). Practicing array reordering with attention to element signs and index control!.#LeetCode #DSA #ProblemSolving #Arrays #TwoPointer #vitbhopal #DrGVishwanathan
0
0
5
Cracked the 3Sum problem on LeetCode!.Brute-force β TLE β.Two-pointer approach β Success β
.Check out my solution here: [ @CSwithMIK β€οΈ.Letβs connect and learn from each other. π‘π.#LeetCode #3Sum #TwoPointer #CodingJourney #100DaysOfCode #LearnToCode
0
0
4
β
Day 91 of #gfg160 & #geekstreak2025.π± Problem: Pair Sum in BST.βοΈ Approach: Inorder Traversal + Two Pointers (sorted BST = sorted array).π Time: O(N) | ποΈ Space: O(N) (inorder array).#BinaryTree #DSA #CPP #BST #TwoPointer.@geeksforgeeks
0
0
3
π Day 22 of LeetCode 30-Day Challenge: Reverse Nodes in k-Group. Input Example: head = [1,2,3,4,5], k = 3. Output: [3,2,1,4,5].#Leetcode #30DaysOfLeetcode #CodingChallenge #LinkedList #TwoPointer #ReverseKGroup #JavaScript #InterviewPrep
0
0
7
β
Day 18 of #100DaysOfCode.Solved 2 LeetCode challenge today! .1. Partition Array Such That Maximum soived Difference Is K (POTD).2. 3Sum.#LeetCode #DSA #ProblemSolving #Math #GCD #vit #challenge #DrGVishwanathan #Array #twopointer #algorithm
0
0
5
day 16 of #100daysofcoding .π‘ Solved Leetcode 167: Two Sum II β Input Array Is Sorted.π Used the two-pointer approach (O(n) time, O(1) space).π§ No extra memory, just logic + sorted array power.π’ 1-indexed output makes it a neat twist!.#Leetcode #Python #TwoPointer
0
0
2
#Day52/160 TwoPointer Technique: Count Pairs whose sum is less than Target. #gfg160 #geekstreak2025 #geeksforgeeks #gfg #codenewbies #dsa #daysofcode #codinglife #geekstreak
0
0
1
β
Day 29 of #100DaysOfCode.Solved 2 LeetCode challenge today! .1. Longest Harmonious Subsequence (POTD) .2. Remove Element .#LeetCode #DSA #ProblemSolving #hashtable #vit #challenge #DrGVishwanathan #sorting #algorithm #sliding #window #Array #twopointer #potd
0
1
12
β
Day 25 of #100DaysOfCode.Solved 2 LeetCode challenge today! .1. Longest Binary Subsequence Less Than or Equal to K (POTD).2. Combination Sum.#LeetCode #DSA #ProblemSolving #twopointer #vit #challenge #DrGVishwanathan #Array #hashmap #algorithm #math #renumeration #string #hash
0
0
4
β
Day 19 of #100DaysOfCode.Solved 2 LeetCode challenge today! .1. Maximum Manhattan Distance After K Changes (POTD).2. Lexicographically Minimum String After Removing Stars.#LeetCode #DSA #ProblemSolving #twopointer #vit #challenge #DrGVishwanathan #Array #hashmap #algorithm
0
0
2
β¨ GFG 160 β Day 60.π Problem: Container With Most Water.π§ Approach: Used two-pointer technique to find the max area between vertical lines. Moved the pointer with the smaller height to potentially maximize area. β±οΈ TC: O(N) | SC: O(1).#Day60 #gfg160 #TwoPointer #DSAChallenge
1
0
9
β
Day 40 of #100DaysOfCode.Solved 1 LeetCode challenge today!.πΉ Merge Two Sorted Lists .#LeetCode #DSA #ProblemSolving #LinkedList #TwoPointer #vitbhopal #DrGVishwanathan
4
0
36
β
Day 35 of #100DaysOfCode.Solved 2 LeetCode challenge today!.1. Maximum Number of Events That Can Be Attended (POTD).2. Reverse String.#LeetCode #DSA #ProblemSolving #hashtable #vit #challenge #DrGVishwanathan #sorting #algorithm #twopointer #String #Arrays #greedy #counting
0
0
3
π Day 24 of LeetCode 30-Day Challenge: Remove Element.π€ Input Example: nums = [0,1,2,2,3,0,4,2], val = 2.π₯ Output: [0,1,3,0,4,. ], return value: 5. #LeetCode #100DaysOfCode #JavaScript #InPlaceAlgorithm #TwoPointer #DSA #CodingChallenge #ArrayManipulation #DevLife
0
0
1