System Design Problem Leetcode Two Pointers Problems