01 Matrix | Detailed Dry Run | Why BFS from 0s | GOOGLE | Leetcode - 542

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



Duration: 18:59
2,190 views
131


iPad PDF Notes - https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/iPad%20PDF%20Notes/Leetcode-542-01%20Matrix.pdf
This is the 53rd Video on our Array Playlist.
In this video we will try to solve a very famous Problem - 01 Matrix (Leetcode-542).
This can also be solved using DP, but in this video we will discuss the BFS approach for this.

Trust me, this will no longer be a Medium Problem.
I will explain the intuition so easily that you will never forget and start seeing this as cakewalk EASYYY.
We will do live coding after explanation and see if we are able to pass all the test cases.

Problem Name : 01 Matrix
Company Tags : GOOGLE
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Arrays/2-D%20Array/01%20Matrix.cpp
Leetcode Link : https://leetcode.com/problems/01-matrix/

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/
Twitter : https://twitter.com/CSwithMIK


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


#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




Other Videos By codestorywithMIK


2023-08-26How big would you dream ? 🔥🔥🔥 #hardwork #motovational #motivation #coding #leetcode #motivational
2023-08-25Maximum Length of Pair Chain | Same as LIS | FULL INTUITION | DP Concepts & Qns - 13 | Leetcode-646
2023-08-24Interleaving String | Khandaani Tareeka | Memoization | GOOGLE | Leetcode-97
2023-08-24Text Justification | Broken into Pieces | GOOGLE | Leetcode-68 | Explanation + Live Coding
2023-08-22Reorganize String | 2 Approaches | Time Complexity | Full Dry Run | TESLA | AMAZON | Leetcode-767
2023-08-21Excel Sheet Column Title | Made it simple | Dry Run | Leetcode-168 | Meta | Microsoft | Explanation
2023-08-20Repeated Substring Pattern | Full Intuition | Time Complexity | GOOGLE | AMAZON | Leetcode-459
2023-08-20Sort Items by Groups Respecting Dependencies | Broken into Simple Steps | Intuition | Leetcode-1203
2023-08-19Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree | Broken in Steps | Leetcode-1489
2023-08-17Maximal Network Rank | Simple and Straight | 2 Ways | MICROSOFT | Leetcode-239 | Dry Run | Live Code
2023-08-1601 Matrix | Detailed Dry Run | Why BFS from 0s | GOOGLE | Leetcode - 542
2023-08-16Sliding Window Maximum | Monotonic Deque | INTUITIVE | GOOGLE | Leetcode-239 | Dry Run
2023-08-15Happy independence Day 🇮🇳❤️ #india #independenceday #meradeshmahan #freedom #bharat
2023-08-14Partition List | Made Super Easy | MICROSOFT | Leetcode-86 | Dry Run | Live Code
2023-08-14Kth Largest Element in an Array | Quick Select | Time Complexity | MICROSOFT | Leetcode-215
2023-08-14Kth Largest Element in an Array | Heap | Sorting | 2 Approaches | Time Complexity | Leetcode-215
2023-08-12Check if There is a Valid Partition For The Array | Recursion | Memoization | GOOGLE | Leetcode-2369
2023-08-12Longest Increasing Subsequence | BOTTOM UP | FULL INTUITION | DP Concepts & Qns - 12 | Leetcode-300
2023-08-11Unique Paths II | Made Super Easy | Recursion | Memoization | 2D Array | AMAZON | Leetcode-63
2023-08-10Coin Change II | Made Super Easy | Recursion | Memoization | AMAZON | Leetcode-518
2023-08-10Keep working hard. Your day will come ❤️❤️ #coding #leetcode #hardwork #motivation #reels #algorithm