Number of Students Doing Homework at a Given Time Problem

Number of Students Doing Homework at a Given Time Problem — ExecCode Easy DSA Practice

Solve the Number of Students Doing Homework at a Given Time problem on ExecCode. Free online easy DSA practice in Arrays - Logic Building. Write and run code in Java, C++, Python — no signup required to run.

Description Given two integer arrays startTime and endTime and given an integer queryTime. The ith student started doing their homework at the time startTime[i] and finished it at time endTime[i]. Return the number of students doing their homework at time queryTime. More formall…

Practice Number of Students Doing Homework at a Given Time free on ExecCode. Browse more ExecCode DSA problems.