# Two Pointers

The two-pointer technique can be used mostly on linear data structures. Some of the variations of two-pointers can be used on a linked list, and almost all of the two-pointer techniques can be used on strings.

{% embed url="<https://leetcode.com/problems/minimum-value-to-get-positive-step-by-step-sum/solutions/1570975/java-simple-clean-solution-one-pass-prefix-sum-beats-100-tc-o-n-sc-o-1/>" %}

* <https://leetcode.com/articles/two-pointer-technique>
*
