Leetcode 3046. Split the Array | Hello Interview