Leetcode 2369. Check if There is a Valid Partition For The Array | Hello Interview