3 like 0 dislike
假設現在要使用選擇排序法來排序 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)
Available when: Unlimited - Due to: Unlimited
| 43 views
Get it on Google Play Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:162.158.78.232
©2016-2020

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)
Available when: Unlimited - Due to: Unlimited
| 32 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)
Available when: Unlimited - Due to: Unlimited
| 65 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)
Available when: Unlimited - Due to: Unlimited
| 53 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)
Available when: Unlimited - Due to: Unlimited
| 57 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)
Available when: Unlimited - Due to: Unlimited
| 25 views
10,932 questions
124,519 answers
118,789 comments
3,819 users