Your question is Function Implementation to Pass Tests. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Guidewire PolicyCenter schedules policy review windows that may overlap. Given the start and end times for each window, return the minimum number of reviewers required so every review can occur on time.
Treat each window as half-open, [start, end): a reviewer whose window ends at time t can immediately handle another window starting at t.
Implement minimum_reviewers(windows). The input is a list of integer pairs, where windows[i] = [start, end] and start < end. Return an integer representing the maximum number of simultaneously active review windows.
def minimum_reviewers(windows):