Well, the one pass is just going to be big O of N, but we know that sorting does take extra memory, or not extra memory, it does take extra time complexity, and that time complexity is N log N.
好吧,一次排序只需要 N 的大 O,但我們知道排序需要額外的內存,或者說不是額外的內存,而是額外的時間複雜度,而時間複雜度是 N 對數 N。