Two Pointer Approach Leetcode Ratings