Find the Score of All Prefixes of an Array

mediumSolve on LeetCodeLast edited: August 2, 2025