Dev.toSorting 기반 Single Pass 스캔으로 시간 복잡도 O(N log N) 달성Merge IntervalsBackendbeginner10 분 소요2026년 6월 3일