Largest Color Value in a Directed Graph | Leetcode - 1857 | META | Explanation ➕ Live Coding Trash
This is the 21st Video on our Graph Playlist.
In this video we will try to solve a Hard but a very good Graph problem "Largest Color Value in a Directed Graph" (Leetcode-1857).
We will solve it using BFS and soon I will post another video on DFS approach as well.
If you have been following my "Graph Concepts & Qns" playlist , then these Qns will become very easy. Find the Link for that below.
Problem Name : Largest Color Value in a Directed Graph
Company Tags : META
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Graph/Topological%20Sorting/Largest%20Color%20Value%20in%20a%20Directed%20Graph.cpp
Leetcode Link : https://leetcode.com/problems/largest-color-value-in-a-directed-graph/
My Graph Concepts Playlist : https://youtu.be/5JGiZnr6B5w
My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Interview_DS_Algo
Subscribe to my channel : https://www.youtube.com/@codestorywithMIK
0:00 - Understanding Problem
03:07 - Intuition Building
10:53 - Approach Building
19:06 - Story (Dry Run)
36:32 - Story to Code
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips
#interviewpreparation #interview_ds_algo #hinglish