Mastering the Two-Pointer Approach: Concepts and Problem Solving