Two Pointer Approach Leetcode Interview Crash