
You are given an array of intervals , where intervals[i] = [start _i , end _i ] and each start _i is unique .
The right interval for an interval i is an interval j such that start _j >= end _i and start _j is minimized . Note that i may equal j .
Return an array of right interval indices for each interval i . If no right interval exists for interval i , then put -1 at index i .
1 <= intervals.length <= 2 * 10 ^4intervals[i].length == 2-10 ^6 <= start _i <= end _i <= 10 ^6The start point of each interval is unique .