Skip to content
Avio Lines
D5

Two Pointers

15 stations · 5.2h

Opposite-end and fast/slow pointer patterns. 15 interview problems explained by codestorywithMIK (5.2h of video), grouped into 4 patterns such as Opposite Ends, Same Direction / Partition, Merge Two Sequences.

Start this line →
problems by zone (pattern)
  • Opposite Ends9
  • Same Direction / Partition3
  • Merge Two Sequences1
  • Sort + Two Pointers3
  1. Opposite Ends

    0 of 9 passed
  2. MediumAmazon · Meta · +1 more companiesLeetCode ↗ (opens in a new tab)
  3. Maximum Width RampLC 962 · 25:53
    MediumGoogle · Amazon · +7 more companiesLeetCode ↗ (opens in a new tab)
  4. Push DominoesLC 838 · 40:06
    MediumGoogle · Amazon · +4 more companiesLeetCode ↗ (opens in a new tab)
  5. MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)
  6. MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)
  7. Same Direction / Partition

    0 of 3 passed
  8. Partition LabelsLC 763 · 27:10
    MediumGoogle · Amazon · +7 more companiesLeetCode ↗ (opens in a new tab)
  9. Merge Two Sequences

    0 of 1 passed
  10. Sort + Two Pointers

    0 of 3 passed
  11. MediumGoogle · Amazon · +4 more companiesLeetCode ↗ (opens in a new tab)
  12. MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)

All 15 stations in order

  1. 1.Reverse Vowels of a String (Google, Zoho, Flipkart) : Explanation ➕ Live Coding 🧑🏻‍💻👩🏻‍💻 (LeetCode 345)
  2. 2.Remove Duplicates from Sorted Array (Google, Amazon, Microsoft…) : Explanation ➕ Live Coding (LeetCode 26)
  3. 3.Reverse Words in a String (Amazon, Microsoft, MentorGraphics, MakeMyTrip) : Explanation➕Live Coding (LeetCode 151)
  4. 4.Number of Subsequences That Satisfy the Given Sum Condition (LeetCode 1498)
  5. 5.Minimize Maximum Pair Sum in Array (LeetCode 1877)
  6. 6.Count the Number of Good Partitions (LeetCode 2963)
  7. 7.Minimum Length of String After Deleting Similar Ends (LeetCode 1750)
  8. 8.Maximum Width Ramp (LeetCode 962)
  9. 9.Partition Labels (LeetCode 763)
  10. 10.Push Dominoes (LeetCode 838)
  11. 11.Find the Lexicographically Largest String From the Box I (LeetCode 3403)
  12. 12.Minimum Removals to Balance Array (LeetCode 3634)
  13. 13.Longest Balanced Substring I (LeetCode 3713)
  14. 14.Longest Balanced Subarray I (LeetCode 3719)
  15. 15.Maximum Distance Between a Pair of Values (LeetCode 1855)