Leetcode 3323. Minimize Connected Groups by Inserting Interval | Hello Interview