Number of Enclaves - (Leetcode - 1020) - (AMAZON) : Explanation β Live Coding π§π»βπ»π©π»βπ»
This is the 42nd Video on our Array Playlist.
In this video we will try to solve a very good practice problem "Number of Enclaves" (Leetcode-1020).
These Qns generally brush your concepts. And we will solve it using DFS and you can solve it using BFS easily.
Problem Name : Number of Enclaves
Company Tags : AMAZON
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Arrays/2-D%20Array/DFS/Number%20of%20Enclaves.cpp
Leetcode Link : https://leetcode.com/problems/number-of-enclaves/
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
2:21 - DFS dry run
6:05 - Story (kahani suno)
10:19 - Story to Code
βββ¦βββ¦ββββ¦ββ¦β¦β¦β¦ββββ
βββ£βββββ£ββ£ββ£ββ£βββ£ββ£
β βββββββ ββββ£βββββββ£
βββ©βββ©ββ©ββ©ββ©βββ©ββ©ββ
#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips
#interviewpreparation #interview_ds_algo #hinglish