3 like 0 dislike
171 views
假設現在要使用選擇排序法來排序 n 個數,則共會用到 n*(n-1)/ $1 次的比較以及 $2 *(n-1) 次的陣列存取。

 

參考書籍:旗標無痛學習教本
[Normal] Fill in the blank - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21849 - Available when: Unlimited - Due to: Unlimited
| 171 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.134.214
©2016-2023

Related questions

3 like 0 dislike
0 answers
[Normal] True/False - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21918 - Available when: Unlimited - Due to: Unlimited
| 164 views
2 like 0 dislike
0 answers
[Normal] True/False - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21895 - Available when: Unlimited - Due to: Unlimited
| 191 views
3 like 0 dislike
0 answers
[Normal] Multichoice - asked Feb 6, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21850 - Available when: Unlimited - Due to: Unlimited
| 148 views
3 like 0 dislike
0 answers
[Normal] Multichoice - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21847 - Available when: Unlimited - Due to: Unlimited
| 145 views
3 like 0 dislike
0 answers
[Normal] Multichoice - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21846 - Available when: Unlimited - Due to: Unlimited
| 125 views
14,692 questions
236,721 answers
212,938 comments
5,696 users