minimum nodes to remove to make graph completely disconnected

Revision en1, by computer_jock, 2023-07-27 11:37:39

given a undirected graph ( n nodes , m edges ) , find minimum no. of nodes to remove for making graph completely disconnected ?

constraints — n upto 1000

A greedy way could be start removing the maximum degree nodes untill graph becomes disconnected, is there a proof it would work ?

also i think its related to menger's algorithm , but that gives vertex cut for making 2 nodes disconnected , here we have to disconnect all nodes from each other..

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English computer_jock 2023-07-27 11:37:39 528 Initial revision (published)