[백준] 1374번: i dont get

whitehousechef·2024년 4월 11일

https://www.acmicpc.net/problem/1374

initial

업로드중..

This is like the bursting balloon greedy question and i have solved a similar 강의실 problem. But why do we have to sort the start time and not the end time? For both probs, we cant sort on end time but my logic is we want the first meeting that ends the earliest so that we can see whether we can fit a meeting after that or not

0개의 댓글