Thuật toán CTDL Disjoint set - ~O(3N+5)

Thuật toán Sliding Window (cửa sổ trượt) - O(2N-K)

Nhận xét