Disconnect one compromised facility center to save the most clean centers.
Unlock detailed company stats for this questionUpgrade
A company has a network of Facility Centers (FCs) represented as a graph. Some FCs are compromised. If a compromised FC is connected to other FCs, the compromise spreads to all directly or indirectly connected nodes. You may disconnect exactly one compromised FC. Find which FC to remove so that the maximum number of clean FCs are saved. If multiple FCs save the same number of nodes, return the FC with the smallest ID. Similar to Minimize Malware Spread.
Format · Similar to Minimize Malware Spread.
Community answers
No answers contributed by the community yet.
Related courses

Course

Course
Course
