Scale Interview Question

live case optimization question about scheduling