How to compute a minimum bottleneck spanning tree in linear time?
问题 We can find a minimum bottleneck spanning tree in O(E log*V) in the worst case by using Kruskal's algorithm. This is because every minimum spanning tree is a minimum bottleneck spanning tree. But I got stuck on this job-interview question from this course. How can we find a minimum bottleneck spanning tree in linear time even in the worst case. Note that we can assume that we can compute the median of n keys in linear time in the worst case. 回答1: Get V , the median of the weights of the |E|