Find the Value of the Partition

mediumSolve on LeetCodeLast edited: August 2, 2025