you give 2D integer array rectangle rectanglesi li hi indicate ith rectangle length li height hi you give 2D integer array point pointsj xj yj point coordinate xj yjThe ith rectangle bottomleft corner point coordinate 0 0 topright corner point li hiReturn integer array count length pointslength countj number rectangle contain jth pointThe ith rectangle contain jth point 0 xj li 0 yj hi Note point lie edge rectangle consider contain rectangle example 1input rectangle 122325 point 2114output 21explanation the rectangle contain pointsthe second rectangle contain point 2 1the rectangle contain point 2 1 1 4the number rectangle contain point 2 1 2the number rectangle contain point 1 4 1therefore return 2 1example 2input rectangle 112233 point 1311output 13explanationthe rectangle contain point 1 1the second rectangle contain point 1 1the rectangle contain point 1 3 1 1the number rectangle contain point 1 3 1the number rectangle contain point 1 1 3therefore return 1 3 constraints1 rectangleslength pointslength 5 104rectanglesilength pointsjlength 21 li xj 1091 hi yj 100All rectangle uniqueall point unique