arctic solve
1. minimum spanning tree
2. binary search and graph connectivity