Maximum Points You Can Obtain from Cards Problem

mediumSolve on LeetCode