Leetcode 2464. Minimum Subarrays in a Valid Split | Hello Interview