8fig interview question

create a google calendar like algorithm implement create a meeting without two meeting on the same time