148. Sort List

1.問題

  • 排序, 時間複雜度為O(n logn), 空間複雜度為constant

2.想法

  • Divide and conquer, Binary sort

    • 將List分為前後兩段並排序

3.程式碼

4.Performance

Last updated