Intercom interview question

Implement an agent scheduling solution