give integer array starttime endtime give integer queryTimeThe ith student start homework time startTimei finish time endtimeireturn number student homework time querytime more formally return number student querytime lay interval startTimei endtimei inclusive Example 1input starttime 123 endtime 327 queryTime 4output 1explanation we 3 student whereThe student start homework time 1 finished time 3 was not time 4the second student start homework time 2 finished time 2 was not time 4the student start homework time 3 finish time 7 student homework time 4example 2input starttime 4 endtime 4 queryTime 4output 1explanation the student homework queryTime ConstraintsstartTimelength endtimelength1 starttimelength 1001 startTimei endTimei 10001 queryTime 1000