Leetcode 2640. Find the Score of All Prefixes of an Array | Hello Interview