前面說了這麼多,終於可以來刷LeetCode 了! ... 有排序嗎?看起來是沒有 ... Array Partition I 那題時間複雜度不是O(n) 喔,因為有用到排序了,所以應該是O(nlogn).
確定! 回上一頁