you give 0indexed 2D integer array flower flowersi starti endi mean ith flower bloom starti endi inclusive you give 0indexed integer array person size n personsi time ith person arrive flowersReturn integer array answer size n answeri number flower bloom ith person arrive Example 1input flower 1637912413 person 23711output 1222explanation the figure show time flower bloom people arriveFor person return number flower bloom arrivalexample 2input flower 11033 person 332output 221explanation the figure show time flower bloom people arriveFor person return number flower bloom arrival Constraints1 flowerslength 5 104flowersilength 21 starti endi 1091 personslength 5 1041 personsi 109