appointment专题

2023 E3 算法题第三题 (Appointment Slots)

题目 Task 3There are N patients (numbered from 0 to N-1) who want to visit the doctor. The doctor has S possible appointment slots, numbered from 1 to S. Each of the patients has two preferences. Pat