Two pointers algorithm, See examples, code, and suggested problems for practice