Two Pointer Technique Leetcode Problems On Stack