filmov
tv
Critical Connections in a network | Leetcode #1192 | Tarjans algorithm for bridge
![preview_player](https://i.ytimg.com/vi/HsBefuOqkd4/maxresdefault.jpg)
Показать описание
This video explains a very important programming interview problem which is to find the critical connections in a network.This problem is from leetcode 1192.This problem is a popular problem which asks to find all the bridges in a graph.A bridge is an edge, removing which increases the number of components in a graph.Critical connection is same as a bridge.We can efficiently find bridges in a graph using Tarjans algorithm which i have already explained and the link for that will be present below.I have explained the problem statemment first and then showed its relation with bridge problem.I have shown the code at the end of the video.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 :)
========================================================================
Please SUPPORT us /\ by JOINing our channel and also get access to perks:
=======================================================================
USEFUL LINKS:-
#bridge #tarjansalgorithm #graph
========================================================================
Please SUPPORT us /\ by JOINing our channel and also get access to perks:
=======================================================================
USEFUL LINKS:-
#bridge #tarjansalgorithm #graph
Комментарии