Somewhere interview question

How would you do scheduling