Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Course filter function
This function takes the course list (should be the complete course list) and a filter array as an input. The filter array should be of size 5, where filter[i] is the forbidden times on day i. For example, CSCI 2300 (Fall) section 02 has 3 times, 2:00pm-3:50pm on Tuesday and Friday, and 12:00pm-1:50pm on Wednesday. So the filter array, if CSCI 2300 was selected, would be:
[ [], ["14:00:00", "15:50:00], ["12:00:00", "13:00:00], [], ["14:00:00", "15:50:00] ]