LeetCode Problem 542: 01 Matrix in Java - FAANG Coding Interview - Blind 75 Question

preview_player
Показать описание
LeetCode Problem 542: 01 Matrix is a medium difficulty Blind 75 problem. We discuss 3 different solutions to the problem - DP, BFS and Brute Force. We need to find the distance of the closest "0" for every matrix element.

We will use Java as the programming language to solve this problem. It is a very good Dynamic Programming (DP) question to begin with, and is a common coding interview question asked by many companies - Amazon, Google, Facebook, etc, and is great question for FAANG interview preparation. Find more LeetCode solutions on KeyStrokes!

LeetCode hosts amazing questions that you can practice for interviews, and to sharpen your algorithmic skills!

At KeyStrokes, we will cover anything and everything about Computer Science. So make sure you subscribe to learn more! If you have any specific requests, please post them in comments.

🚨🚨🚨🚨🚨🚨 1:1's with KeyStrokes 🚨🚨🚨🚨🚨🚨
💜 🤝 Fill out this form and get in touch with me! 🤝 💜

👉 💜☕️ You can show your support by buying me coffee ☕️💜👈

👉💜🫡 Or through Patreon 🫡💜👈

LeetCode Problem 542: 01 Matrix

All LeetCode Solutions:

Code from the video:

LeetCode Discussion:

Contact for Business Enquiries:
- Discord: KeyStrokes(Hashtag)0040

Companies that have asked this question:
- Google
- Amazon
- Facebook
- Adobe

Timestamps:
00:00 Introduction
00:29 Problem Statement
01:40 Required Conceptual Knowledge
01:56 Brute Force - Brainstorming
06:55 Brute Force - Pseudocode
08:02 Brute Force - Coding
10:55 Brute Force - Submitting to LeetCode
11:17 Breadth First Search (BFS) - Brainstorming
21:11 BFS - Pseudocode
23:32 BFS - Coding
29:29 BFS - Submitting to LeetCode
29:48 Dynamic Programming (DP) - Brainstorming
36:32 DP - Pseudocode
39:01 DP - Coding
44:21 DP - Submitting to LeetCode
44:41 Outro/Conclusion

---

Music Credits:
🎶 Music Credits 🎶

Image Credits

---
Disclaimer: All opinions expressed in this video are those of the creator of this video. Using any information provided in this video is at your own risk, and the creator hold no responsibility and cannot be held liable if it causes any loss. Please do your own research and experiment well enough before using any content provided here.

#KeyStrokes #LeetCode #Blind75 #Algorithms #DataStructures #Coding #Programming #Java #Interview #TechInterview #BinaryTreeLevelOrderTraversal #BinaryTree #LevelOrderTraversal #LeetCode102
Рекомендации по теме
Комментарии
Автор

🚨🚨🚨🚨🚨🚨 1:1's with KeyStrokes 🚨🚨🚨🚨🚨🚨
💜 🤝 Fill out this form and get in touch with me! 🤝 💜

Key_Strokes
welcome to shbcf.ru