algorithm2 pointersOn this pageTwo pointers technique Code Examples LeetCode 1: Two Sum, solution LeetCode 121: Best Time to Buy and Sell Stock II, solution