heightToLengths to store lists of lengths indexed by their heights.heightToLengths.heightToLengths.counts to store the result for each point.count to 0.
b. Iterate over each height starting from the point's y-coordinate up to 100.
c. If there are lengths for the current height, perform binary search to find the number of lengths greater than or equal to the point's x-coordinate.
d. Add the result of the binary search to count.count in the counts array for the current point.counts array.