you give 2D integer array intervals intervalsi starti endi represent integer starti endi inclusivelyA contain set array num interval interval integer numsfor example interval 13 37 89 124789 23489 contain setsreturn minimum possible size contain set Example 1input interval 133789output 5explanation let num 2 3 4 8 9it show contain array size 4example 2input interval 13142535output 3explanation let num 2 3 4it show contain array size 2example 3input interval 12232445output 5explanation let num 1 2 3 4 5it show contain array size 4 Constraints1 intervalslength 3000intervalsilength 20 starti endi 108