Amazing sir, the way you approach any problem is just the ideal way to approach in any interview. Great effort sir. Hats off!🤯
@VishvajeetSinghNayalBCE3 ай бұрын
as we are doing step ++ after each level how does it ensure to get the shortest number of 0's required ?
@sharan7504 Жыл бұрын
Great Explanation, liked your energy the whole time.
@kenadave Жыл бұрын
Is it? this much is not required
@bgmihighlights637810 ай бұрын
What an amazing explanation , thank youu
@ARYANMITTAL10 ай бұрын
Glad it helped you ❤️🫂
@sanchitagarwal9651 Жыл бұрын
great way of building intuition
@sahilanand30 Жыл бұрын
Superb explanation
@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!!!
@prathamrajbhattnit-allahab4108 Жыл бұрын
great explanation
@MrKB_SSJ2 Жыл бұрын
🔥
@lonen3rd Жыл бұрын
How do we calculate shortest bridge if grid has >2 islands?
@sundarbsr4275 Жыл бұрын
Nice Explanation Bro😊
@VijayTamada Жыл бұрын
Cool !!!
@kunalkheeva Жыл бұрын
thanks
@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 Жыл бұрын
why we not use dfs instead of bfs.
@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