3 like 0 dislike
118 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
| 118 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.127.41
©2016-2024

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
| 111 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
| 135 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
| 102 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
| 100 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
| 74 views
12,783 questions
183,443 answers
172,219 comments
4,824 users