演算法›Ch2 分治法第 7 題/共 12 題
7. Divide and Conquer、WiFi Router Placement
#AL-02-007中Divide and ConquerWiFi Router Placement
- Given n points on a line, the n points are the n users who need wifi signal. Suppose that we have only one kind of wifi router and we don't care about the number of wifi routers needed, but we have to minimize the power consumption of the routers. Power consumption is presented as the distance that signal of a router can reach.
(a) Design a Divide and Conquer algorithm to determine the minimum power consumption. (4%).
(b) What is the time required for your Divide and Conquer algorithm? (2%).
📄 交大112
▤完整推導請見《WH 資工筆記 · 演算法》Ch2 分治法