This document describes an algorithm to find the minimum number of new airport connections needed to make all airports reachable from a starting airport. It creates a graph of airport routes and finds unreachable nodes, then adds child connections and sorts the unreachable nodes by connection count to determine the minimum new connections needed.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
230 views2 pages
Algoexpert
This document describes an algorithm to find the minimum number of new airport connections needed to make all airports reachable from a starting airport. It creates a graph of airport routes and finds unreachable nodes, then adds child connections and sorts the unreachable nodes by connection count to determine the minimum new connections needed.