Number of Operations to Make Network Connected | Leetcode

Описание к видео Number of Operations to Make Network Connected | Leetcode

This video explains a very important graph interview problem which is to find the minimum number of operations to make a network connected.This is an important graph algorithm problem which is frequently asked in programming interviews.This is from Leetcode 1319. In this problem, I have first explained the goal and then taken some examples to clear the understanding of the problem.I have then shown how this problem is related to the minimum spanning tree.I have also shown the concepts of redundant edges and also how to use them to find the minimum number of operations to make the graph connected.I have also shown the solution steps and a simple dry run of the algorithm.At the end of the video, I have also explained the code walk through of this problem.CODE LINK is present below as usual. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)

========================================================================
Join this channel to get access to perks:
   / @techdose4u  

INSTAGRAM :   / surya.pratap.k  

SUPPORT OUR WORK:   / techdose  

LinkedIn:   / surya-pratap-kahar-47bb01168  

WEBSITE: https://techdose.co.in/

TELEGRAM Channel LINK: https://t.me/codewithTECHDOSE

TELEGRAM Group LINK: https://t.me/joinchat/SRVOIxWR4sRIVv5...
=======================================================================

CODE LINK: https://gist.github.com/SuryaPratapK/...
USEFUL LINKS:-
MST:    • Spanning Tree | MST | Graph Theory  
DFS:    • Depth first search | DFS | Depth firs...  


#graph #leetcode #graphalgo

Комментарии

Информация по комментариям в разработке