Number of Enclaves - (Leetcode - 1020) - (AMAZON) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»

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



Duration: 15:35
694 views
0


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




Other Videos By codestorywithMIK


2023-04-15Dijkstra's Algorithm | PART-3 | Why not Queue ? | Microsoft | Graph Concepts & Qns - 26 |Explanation
2023-04-15Maximum Value of K Coins From Piles - (META) | Leetcode-2218 | Explanation βž• Live Coding
2023-04-14Longest Palindromic Subsequence - (Google, Amazon) | Leetcode-516 | Explanation βž• Live Coding
2023-04-13Validate Stack Sequences | Leetcode - 946 | AMAZON | Explanation βž• Live Coding
2023-04-12Simplify Path | Leetcode - 71 | META | Explanation βž• Live Coding
2023-04-10Removing Stars From a String | Leetcode - 2390 | MICROSOFT | Explanation βž• Live Coding
2023-04-09Valid Parentheses | Leetcode - 20 | Google, Meta | Explanation βž• Live Coding Trash
2023-04-09Dijkstra's Algorithm | PART-2 | (Microsoft) | Graph Concepts & Qns - 25 | Explanation+Coding
2023-04-08Largest Color Value in a Directed Graph | Leetcode - 1857 | META | Explanation βž• Live Coding Trash
2023-04-08Clone Graph | Leetcode - 133 | Google, Facebook, Amazon | DFS+BFS | Explanation βž• Live CodingπŸ§‘πŸ»β€πŸ’»
2023-04-06Number of Enclaves - (Leetcode - 1020) - (AMAZON) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2023-04-06Number of Closed Islands - (Leetcode - 1254) - (GOOGLE) : Explanation βž• Live Coding
2023-04-05Dijkstra's Algorithm | PART-1 | (Microsoft) | Graph Concepts & Qns - 24 | Explanation+Coding
2023-04-05Minimize Maximum of Array - (META) | Leetcode-2439 | Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2023-04-03Optimal Partition of String - (AMAZON) | Leetcode-2405 | Explanation βž• Live Coding
2023-04-02Successful Pairs of Spells and Potions - (MICROSOFT) | Leetcode-2003 | Explanation βž• Live Coding
2023-04-01Binary Search - (Recursive + Iterative) | Leetcode-704 | Explanation βž• Live Coding
2023-03-31Number of Ways of Cutting a Pizza - (Google, TikTok) | Leetcode-1444 | Explanation βž• Live Coding
2023-03-30Scramble String - (GOOGLE) | Leetcode-87 | Explanation βž• Live Coding
2023-03-29Reducing Dishes - (MICROSOFT) | Leetcode-1402 | 2 Approaches | Explanation βž• Live Coding
2023-03-28Minimum Cost For Tickets - (GOOGLE) | Leetcode-983 | 2 Approaches | Explanation βž• Live Coding