Emil decided to split A into continuous subarrays so that each integer is contained in exactly one subarray.
Problem Statement : You are given an array A of N integers. Emil decided to split A into continuous subarrays so that each integer is contained in exactly one subarray. … Read more