Изменения рейтингов за последние раунды временно удалены. Скоро они будут возвращены. ×

minimum nodes to remove to make graph completely disconnected

Правка en1, от 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..

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский computer_jock 2023-07-27 11:37:39 528 Initial revision (published)