Two Pointer Approach Leetcode Contest Ladder Shelf