AlgoMaster Logo

924. Minimize Malware Spread

graph=[[1,1,0],[1,1,0],[0,0,1]],initial=[0,1]
0 / 35
algomaster.io
Step:A network of 3 nodes with 2 infected. Simulate the spread once per removal candidate.