Maximum Number Of Points With Cost Leetcode Solution 1943