TikTok interview question

sql(window function), python(meeting room problem)