Given two integer arrays startTime and endTime along with an integer queryTime.
The startTime[i] and completed it at time endTime[i].
Return the number of students who were doing their homework at the time queryTime. More formally, return the count of students where startTime[i] queryTime endTime[i].
Constraints:
startTime.length endTime.length
startTime.length
startTime[i] endTime[i]
queryTime
Given two integer arrays startTime and endTime along with an integer queryTime.
The startTime[i] and completed it at time endTime[i].
Return the number of students who were doing their homework at the time queryTime. More formally, return the count of students where startTime[i] queryTime endTime[i].
Constraints:
startTime.length endTime.length
startTime.length
startTime[i] endTime[i]
queryTime