Posts with #TwoPointer

#TwoPointer

Public posts on X that use #TwoPointer.

Related hashtags

  1. Misa Codes@Muskanm_1227
    Day 137/150 #150DaysOfCode | #TwoPointer Traversal Not feeling well today, so just solved LeetCode 160 (Intersection of Two Linked Lists) with an optimal two-pointer approach. •Strategy: Two-Pointer Switching •Time Complexity: O(N + M) •Aux Space: O(1) #DSA #LeetCode #Cpp
    Download
    3016350
  2. Sahil Bhutto@SahilB58967
    Leveling up with the Two-Pointer approach today! Challenge: Separate 0s and 1s in an array (Brute, Optimized). Code 1: Brute force (counting 0s, then 2 loops to overwrite). Code 2: Two-Pointers! (1 pass, O(1) space. Left finds 1s, right finds 0s > Swap #DSA #Java #TwoPointer
    Download
    00018
  3. Tej@TTatiwar
    15–16 Oct: 🧩 Solved DSA questions on Two Pointer & Sliding Window techniques. Getting more comfortable with patterns and logic building. 🚀 #DSA #TwoPointer #SlidingWindow #KeepGrinding
    00277
  4. Akshat Gairola@AkshatGair23428
    🚀 Solved: Merge Sorted Array 🔢 Used the Two Pointer Approach 👇 ✅ Compare elements from both arrays ✅ Start merge from backwards and place greater elements at correct order ✅ Handle remaining elements efficiently 📌 Clean & Optimal: O(m+n) #LeetCode #DSA #TwoPointer
    Download
    10894
  5. Nandeesha S@Nandeesha_S_
    ✨ 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
    Download
    109130
  6. Kushal Koradia@Kushal_Koradia
    ✅ Day 103 of #100DaysOfDSA 📍 LC 611: Valid Triangle No Sort the array, fix the largest side, and use two pointers to find valid pairs. If nums[left] + nums[right] > nums[i], add (right - left) to count and move right--; else move left++. ⏱ O(n²) | O(1) #TwoPointer #Greedy
    Download
    00356
  7. Emma Cope@EmmaEmmaCope
    I would like to thank @gregjames for helping secure our pub quiz win tonight. Despite zero knowledge or awareness for football, I somehow retained the fact that this mornings correspondent was calling in from Baku, Azerbaijan which is where Wales played on Saturday #twopointer
    0011
  8. Elliot@Pandeysumit44
    Day 18 of #DSA Challenge! Solved 3 key array problems on #LeetCode -> Reverse the Array . -> Merge Sorted Arrays . ->Move Zeroes . Solidified my understanding of #twopointer techniques and #inplace operations. Progress over perfection! #LearnInPublic
    0017314
  9. James M. Yenter@yenterfarms
    @IowaAggie10
    @IowaAggie10 $2.75/lb... shoot all you want! I can save you the trouble, there's 3 hanging in Williamsburg right now... Tastes a lot better than a timber rat! #twopointer
    Download
    106
  10. Ray Boyne@AnalysisGaa
    6 Two-Pointers for Kerry today (6–4). That’s 12 points from outside the arc. The two-point rule is continuing to change the geometry of the game, teams that can create and convert from distance now carry a completely different scoring threat. 🎥 @RTEsport #GAA #TwoPointer #GameEvolution #GaelicFootball
    Download
    0912137.3K
  11. Show more posts