Graph Concepts & Qns - 9 (Flipkart, Amazon, Microsoft...) : Detect Cycle in Directed Graph using BFS

Subscribers:
92,300
Published on ● Video Link: https://www.youtube.com/watch?v=74suJP4bwf0



Duration: 11:47
417 views
35


Hi Everyone, this is the 9th video of our new Playlist "Graph Concepts & Qns".
Today we will see "Cycle Detection in Directed Graph using BFS (Kahn's Algorithm)"

The main motive of this playlist is to understand each Topic of Graph and solve qns on each of those topics to better understand and
get a grip on those topics.

My aim is to make Graph easy and make everyone believe that once you get clarity , you can solve even Graph Qns Easily.
It will no longer be a nightmare topic for anyone. All I need is your attention for some time and CONSISTENCY.

"If someone can, we can too"

Video Name : Cycle in Directed Graph using BFS
Topic : Graph
Video : 9
Github Link : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Graph/Detect%20cycle%20in%20a%20directed%20graph%20(BFS).cpp
Company Tags : Flipkart, Amazon, Microsoft, Samsung, MakeMyTrip, Oracle, Adobe, BankBazaar

Pointers :
Intro : (00:00)
Gyaan : (00:12)
Recap : (01:03)
Cycle Detection in Directed Graph using BFS : (01:44)
Topological Sort kyo padhaya tha : (01:50)
Story aise likho : (03:47)
Example Dry-Run : (04:27)
Live Coding in GfG : (07:41)

My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Interview_DS_Algo
Subscribe to my channel : https://www.youtube.com/@codestorywithMIK



╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips
#interviewpreparation #interview_ds_algo #hinglish




Other Videos By codestorywithMIK


2023-01-09Same Tree - (Google, Adobe, Meta, Amazon, Uber, Bloomberg) : Explanation ➕ Live Coding
2023-01-09Course Schedule-II : (Apple, Microsoft,Amazon) | BFS | Graph Concepts & Qns - 13 |Explanation+Coding
2023-01-09Binary Tree Preorder Traversal - (Microsoft, Walmart, Flipkart, Amazon) : Explanation ➕ Live Coding
2023-01-08Course Schedule - (Apple, Microsoft,Amazon) | BFS | Graph Concepts & Qns - 12 | Explanation+Coding
2023-01-08Max Points on a Line -(Google, Apple, LinkedIn, Amazon) : Explanation ➕ Live Coding
2023-01-06Gas Station (Google, Amazon, Uber, Microsoft, FactSet, Zoho, Flipkart) : Explanation ➕ Live Coding
2023-01-06Number of Provinces - (Google, Microsoft,Amazon) | BFS | Graph Concepts & Qns - 11 |Explanation-Code
2023-01-05Maximum Ice Cream Bars (Apple, Meta, Microsoft, Amazon) : Explanation ➕ Live Coding
2023-01-05Number of Provinces - (Google, Microsoft,Amazon) | DFS | Graph Concepts & Qns - 10 |Explanation-Code
2023-01-05Minimum Number of Arrows to Burst Balloons (Google, Facebook, Microsoft) : Explanation ➕ Live Coding
2023-01-04Graph Concepts & Qns - 9 (Flipkart, Amazon, Microsoft...) : Detect Cycle in Directed Graph using BFS
2023-01-04Minimum Rounds to Complete All Tasks : Explanation ➕ Live Coding 🧑🏻‍💻👩🏻‍💻
2023-01-03Graph Concepts & Qns - 8 (Amazon, Microsoft..) : Kahn's Algorithm(Topological Sort using BFS)
2023-01-02Delete Columns to Make Sorted - (MICROSOFT) : Explanation ➕ Live Coding🧑🏻‍💻👩🏻‍💻
2023-01-02Graph Concepts & Qns - 7 (Microsoft, Accolite, Amazon, Flipkart) : Topological Sort using DFS
2023-01-02Detect Capital -(GOOGLE) : Explanation ➕ Live Coding 🧑🏻‍💻👩🏻‍💻
2023-01-01Word Pattern -(Amazon, MakeMyTrip, Microsoft) : Explanation ➕ Live Coding
2022-12-31Graph Concepts & Qns - 6 (Flipkart, Amazon, Microsoft...) : Detect Cycle in Directed Graph using DFS
2022-12-30Unique Paths III -(Apple, Amazon, Microsoft, Intuit) : Explanation ➕ Live Coding
2022-12-30All Paths From Source to Target - (Amazon, Microsoft) : Explanation ➕ Live Coding
2022-12-29Single-Threaded CPU (Google) : Explanation ➕ Live Coding 👩🏻‍💻👨🏻‍💻