Time Needed to Inform All Employees | DFS | BFS | AMAZON | Leetcode-1376 | Live Code
This is the 2nd Video on our N-Ary Tree Playlist.
In this video we will try to solve a very good Classic Tree Traversal Problem "Time Needed to Inform All Employees" (Leetcode - 1376)
We will solve it using :
1. DFS
2. BFS
I am promising you, this problem will become easy once you are done with this video.
We will do live coding after explanation and see if we are able to pass all the test cases.
Problem Name : Time Needed to Inform All Employees
Company Tags : AMAZON
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Tree/Time%20Needed%20to%20Inform%20All%20Employees.cpp
Leetcode Link : https://leetcode.com/problems/time-needed-to-inform-all-employees/
My DP Concepts Playlist : https://youtu.be/7eLMOE1jnls
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
Instagram : https://www.instagram.com/codestorywithmik/
Facebook : https://www.facebook.com/people/codestorywithmik/100090524295846/
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
Timestamp:
00:00 - Introduction
00:39 - Understand The Problem
10:16 - Example Dry Run
14:35 - Making Story Points
16:08 - DFS
20:39 - BFS
#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge#leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview#interviewtips
#interviewpreparation #interview_ds_algo #hinglish #github #design #data #google #video #instagram #facebook