[理工] [DS] Some Problem..
Q1. The conditions of worst case are the same for bubble sort and quick sort.
Sorted 在 quick sort 是 worst case, 但對 bubble sort 應該是best case不是嗎?
Q2. http://www.lib.ntu.edu.tw/exam/graduate/96/96412.pdf
第15題(d)的 maximum clique 頂點數應該是3嗎? 答案是5?
Q3. A-C-E
| /|
B-D-F 的BFS
答案是A,B,D,E,C,F... 感覺是A,B,C,D,E,F捏...
Q4. http://ezproxy.lib.ncu.edu.tw:8080/~arhui/cexamn/exam/MA02_95_04.pdf
Q: 第4題的A*解答是
1 1 1 1 1
0 1 1 1 1
0 0 1 1 1
0 0 0 1 1
0 0 0 0 1
感結怪怪的..是否應該為
1 1 1 1 1
0 1 1 1 1
0 0 1 1 1
0 0 1 1 1
0 0 1 1 1
謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.135.91.184
推
01/31 10:20, , 1F
01/31 10:20, 1F
→
01/31 11:20, , 2F
01/31 11:20, 2F
→
01/31 11:21, , 3F
01/31 11:21, 3F
推
01/31 11:25, , 4F
01/31 11:25, 4F
推
01/31 11:50, , 5F
01/31 11:50, 5F
→
01/31 12:10, , 6F
01/31 12:10, 6F
→
02/01 14:07, , 7F
02/01 14:07, 7F
→
02/01 14:07, , 8F
02/01 14:07, 8F
→
02/01 14:08, , 9F
02/01 14:08, 9F
→
02/01 14:24, , 10F
02/01 14:24, 10F
→
02/05 20:39, , 11F
02/05 20:39, 11F
→
02/05 20:40, , 12F
02/05 20:40, 12F
→
02/05 20:41, , 13F
02/05 20:41, 13F
→
09/11 14:12, , 14F
09/11 14:12, 14F