Learn about deadlock in general.
Learn & Grow With Innoskrit Learning Hub...
September 6, 2022
In problems where we deal with sorted arrays (or LinkedLists) and need to find a set of elements that fulfill certain constraints, the Two Pointers approach becomes quite useful. The set of elements could be a pair, a triplet or even a subarray.