Skip to content
Ultimate Algorithm

Two Pointers with Binary Search

Some of the famous Two Pointer Problems are combined with Binary Search.

ProblemTopicPlatform
Partition Array into Two ArraysTwo Pointers w/ Binary SearchLeetcode
Closest Subsequence SumTwo Pointers w/ Binary SearchLeetcode
Ways to Split Array into three subarraysTwo Pointers w/ Binary SearchLeetcode
3sum-closestTwo Pointers w/ Binary SearchLeetcode

While there are many other types of other two pointer problems, there are many other more in the link below (from chuka231): https://leetcode.com/discuss/study-guide/1688903/Solved-all-two-pointers-problems-in-100-days