[理工] [DS]98-中山資工
Analyze the behavior of QUICKSORT in the case where a schizophrenic adversary
picks the best possible splitter (partitioning element) instead of the worst
,every other time (ie, he alternates between best and worest). What running
time is induced by this "adversary"?
題目不懂在問什麼? 還有請問如何解?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.115.4.6
※ 編輯: ie925155 來自: 59.115.4.6 (03/22 21:11)
→
03/22 21:13, , 1F
03/22 21:13, 1F
推
03/22 21:14, , 2F
03/22 21:14, 2F
→
03/22 21:18, , 3F
03/22 21:18, 3F
推
03/22 22:02, , 4F
03/22 22:02, 4F
推
03/22 22:30, , 5F
03/22 22:30, 5F