D5
Two Pointers
15 stations · 5.2hOpposite-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 →- Opposite Ends9
- Same Direction / Partition3
- Merge Two Sequences1
- Sort + Two Pointers3
Opposite Ends
0 of 9 passed- Reverse Vowels of a String (Google, Zoho, Flipkart) : Explanation ➕ Live Coding 🧑🏻💻👩🏻💻LC 345 · 9:23EasyGoogle · Amazon · +11 more companiesLeetCode ↗ (opens in a new tab)
- Reverse Words in a String (Amazon, Microsoft, MentorGraphics, MakeMyTrip) : Explanation➕Live CodingLC 151 · 22:53MediumGoogle · Amazon · +24 more companiesLeetCode ↗ (opens in a new tab)
- Minimum Length of String After Deleting Similar EndsLC 1750 · 16:09MediumAmazon · Meta · +1 more companiesLeetCode ↗ (opens in a new tab)
- Maximum Width RampLC 962 · 25:53MediumGoogle · Amazon · +7 more companiesLeetCode ↗ (opens in a new tab)
- Find the Lexicographically Largest String From the Box ILC 3403 · 22:12MediumGoogle · Amazon · +3 more companiesLeetCode ↗ (opens in a new tab)
- Longest Balanced Substring ILC 3713 · 13:38MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)
- Longest Balanced Subarray ILC 3719 · 12:31MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)
- Maximum Distance Between a Pair of ValuesLC 1855 · 13:46MediumGoogle · MicrosoftLeetCode ↗ (opens in a new tab)
Same Direction / Partition
0 of 3 passed- Remove Duplicates from Sorted Array (Google, Amazon, Microsoft…) : Explanation ➕ Live CodingLC 26 · 9:10EasyGoogle · Amazon · +21 more companiesLeetCode ↗ (opens in a new tab)
- Partition LabelsLC 763 · 27:10MediumGoogle · Amazon · +7 more companiesLeetCode ↗ (opens in a new tab)
Merge Two Sequences
0 of 1 passed- Number of Subsequences That Satisfy the Given Sum ConditionLC 1498 · 34:54MediumGoogle · Amazon · +4 more companiesLeetCode ↗ (opens in a new tab)
Sort + Two Pointers
0 of 3 passed- Remove Duplicates from Sorted Array (Google, Amazon, Microsoft…) : Explanation ➕ Live CodingLC 26 · 9:10EasyGoogle · Amazon · +21 more companiesLeetCode ↗ (opens in a new tab)
- Minimize Maximum Pair Sum in ArrayLC 1877 · 11:28MediumGoogle · Amazon · +4 more companiesLeetCode ↗ (opens in a new tab)
- Minimum Removals to Balance ArrayLC 3634 · 23:31MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)
All 15 stations in order
- 1.Reverse Vowels of a String (Google, Zoho, Flipkart) : Explanation ➕ Live Coding 🧑🏻💻👩🏻💻 (LeetCode 345)
- 2.Remove Duplicates from Sorted Array (Google, Amazon, Microsoft…) : Explanation ➕ Live Coding (LeetCode 26)
- 3.Reverse Words in a String (Amazon, Microsoft, MentorGraphics, MakeMyTrip) : Explanation➕Live Coding (LeetCode 151)
- 4.Number of Subsequences That Satisfy the Given Sum Condition (LeetCode 1498)
- 5.Minimize Maximum Pair Sum in Array (LeetCode 1877)
- 6.Count the Number of Good Partitions (LeetCode 2963)
- 7.Minimum Length of String After Deleting Similar Ends (LeetCode 1750)
- 8.Maximum Width Ramp (LeetCode 962)
- 9.Partition Labels (LeetCode 763)
- 10.Push Dominoes (LeetCode 838)
- 11.Find the Lexicographically Largest String From the Box I (LeetCode 3403)
- 12.Minimum Removals to Balance Array (LeetCode 3634)
- 13.Longest Balanced Substring I (LeetCode 3713)
- 14.Longest Balanced Subarray I (LeetCode 3719)
- 15.Maximum Distance Between a Pair of Values (LeetCode 1855)