G-13 BFS+DFS Problems II Shortest Bridge II Leetcode 934 II C++/Java

  Рет қаралды 5,476

Aryan Mittal

Aryan Mittal

Күн бұрын

Пікірлер: 19
@DIVYANSHMNIT
@DIVYANSHMNIT Жыл бұрын
Amazing sir, the way you approach any problem is just the ideal way to approach in any interview. Great effort sir. Hats off!🤯
@sanchitagarwal9651
@sanchitagarwal9651 Жыл бұрын
great way of building intuition
@prathamrajbhattnit-allahab4108
@prathamrajbhattnit-allahab4108 Жыл бұрын
great explanation
@sahilanand30
@sahilanand30 Жыл бұрын
Superb explanation
@sharan7504
@sharan7504 Жыл бұрын
Great Explanation, liked your energy the whole time.
@kenadave
@kenadave Жыл бұрын
Is it? this much is not required
@VishvajeetSinghNayalBCE
@VishvajeetSinghNayalBCE 4 ай бұрын
as we are doing step ++ after each level how does it ensure to get the shortest number of 0's required ?
@KunalJaiswal-og7nf
@KunalJaiswal-og7nf Жыл бұрын
That was some content I wanted to watch - this was preety cool concept that how cna u use multi source bfs along with dfs. Damn i watched it before my internship interviews!!!
@bgmihighlights6378
@bgmihighlights6378 11 ай бұрын
What an amazing explanation , thank youu
@ARYANMITTAL
@ARYANMITTAL 11 ай бұрын
Glad it helped you ❤️🫂
@MrKB_SSJ2
@MrKB_SSJ2 Жыл бұрын
🔥
@kunalkheeva
@kunalkheeva Жыл бұрын
thanks
@sundarbsr4275
@sundarbsr4275 Жыл бұрын
Nice Explanation Bro😊
@VijayTamada
@VijayTamada Жыл бұрын
Cool !!!
@lonen3rd
@lonen3rd Жыл бұрын
How do we calculate shortest bridge if grid has >2 islands?
@tanishkumar6682
@tanishkumar6682 Жыл бұрын
Can we conclude that the shortest bridge will always be from the cell which lies on the boundary of the island not from the inside cell(i.e the cell which does not lie on the boundary).
@adityamishra9496
@adityamishra9496 Жыл бұрын
why we not use dfs instead of bfs.
@princepranav9021
@princepranav9021 Жыл бұрын
you have to find the island in min steps..but when you apply dfs it might not give you the min no of steps..but multisource bfs gurantees shortest min steps
@AmarjeetKumar-en1gk
@AmarjeetKumar-en1gk Жыл бұрын
Put ur face as channel logo. Thanks me later...
Shortest Bridge - Leetcode 934 - Python
14:51
NeetCode
Рет қаралды 39 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,2 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 35 МЛН
5 Simple Steps for Solving Any Recursive Problem
21:03
Reducible
Рет қаралды 1,2 МЛН
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 740 М.
SLOW DOWN!!  DMV Drive Test, 2nd Attempt - Nervous Student, Upset Examiner
11:43
Road Test Success
Рет қаралды 1,6 МЛН
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
The Last Algorithms Course You'll Need by ThePrimeagen | Preview
16:44
Frontend Masters
Рет қаралды 325 М.
Dynamic Programming isn't too hard. You just don't know what it is.
22:31
DecodingIntuition
Рет қаралды 199 М.
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,7 МЛН