Two Pointer Sliding Window Leetcode Question 50