Leetcode Two Pointer Approach Python Compiler With Matplotlib