The Trade Desk interview question

Leet code type question - scheduling meetings optimally in a day.