[問題] 資結-排序
Given a list of n elements and assuming n is larger than 100
compare the performance of the following sorting algorithms
a)..
b)..
c) quick sort
d)..
(Hint:list them in ascending or descending order)
請教一下
c)是n^2嗎??
可是書上是寫nlogn..是書寫錯了嗎?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.103.55
→
04/17 00:01, , 1F
04/17 00:01, 1F
推
04/17 00:18, , 2F
04/17 00:18, 2F
→
04/17 00:18, , 3F
04/17 00:18, 3F
→
04/17 00:19, , 4F
04/17 00:19, 4F
→
04/17 00:33, , 5F
04/17 00:33, 5F
→
04/17 00:45, , 6F
04/17 00:45, 6F
推
04/17 01:40, , 7F
04/17 01:40, 7F
→
04/17 01:40, , 8F
04/17 01:40, 8F
→
04/17 01:48, , 9F
04/17 01:48, 9F