(13) The Two Pointer Algorithm - TechParoksha - Quora
The legendary two pointer approach is one such technique which is less of a talk and more of a discussion on the problems. Binary search is a kind of optimization on the number of trials taken to reach the optimal position and so is the two pointer technique. The approach relies on the sequence following one specific property on which our pointers can move.
Read full article from (13) The Two Pointer Algorithm - TechParoksha - Quora
No comments:
Post a Comment