G-13 BFS+DFS Problems II Shortest Bridge II Leetcode 934 II C++/Java
Вставка
- Опубліковано 5 лют 2025
- In this video, I'll talk about how to solve the problem - 934. Shortest Bridge
Graph Practice Problem List by Aryan: drive.google.c...
Complete BAAP Graph Series: • Baap Graph Series - by...
Graph Problem Solving Playlist: • Complete Graph Intuiti...
Problem Link: leetcode.com/p...
C++/Java Code & Notes: drive.google.c...
G-13 BFS+DFS Problems II Shortest Bridge II Leetcode 934 II C++/Java
Let's Connect:
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / aryan_mittal_007
📱Telegram : t.me/aryan_mit...
🤖 Github: github.com/ary...
Resources you can try:
Learn Coding: • Complete RoadMap for C...
🎥Channel Playlists
🎥 Baap Graph Series - by Aryan: • Baap Graph Series - by...
🎥Dynamic Programming: • Complete Dynamic Progr...
🎥Bit Manipulation: • Complete BIT MANIPULAT...
🎥Mathematics for DSA: • Complete Mathematics f...
🎥Leetcode Top Interview Questions: • Leetcode Interview Que...
🎥Codeforces Problem B Ladder: • Complete PROBLEM B LAD...
🎥Codeforces Problem C Ladder: • Codeforces PROBLEM C L...
🎥Codeforces Problem D Ladder: • Complete PROBLEM D LAD...
🎥 Top 150 Interview Questions: • Top 150 Interview Ques...
🎥 Complete Array Problem Playlist: • Complete Array Intuit...
🎥 Complete Binary Search Problem Playlist: • Complete Binary Search...
🎥 Complete Stack Playlist: • Complete Stack & Queue...
🎥 Complete Graph Problem Playlist: • Complete Graph Intuiti...
🎥 Complete TREE Playlist: • Complete TREE Intuitio...
🎥 Complete DP Problem Solving: • Complete DP Intuition ...
🎥 Complete Linked List: • Complete Linked List I...
🎥 Complete Greedy Problem Playlist: • Complete Greedy Intui...
🎥 Complete Divide & Conquer Algorithm Playlist: • Complete Divide & Conq...
🎥 Complete Trie Playlist: • Complete Trie Intuitio...
🎥 Complete Mathematics & Number Theory Problems: • Complete Mathematics &...
🎥 Faang Interview Questions & Solutions: • Playlist
🎥 Google Interview Questions: • Google Interview Quest...
🎥 Microsoft Interview Questions: • Microsoft Interview Qu...
🎥 Amazon Interview Questions: • Amazon Interview Quest...
🎥 Meta Interview Questions: • Meta Interview Questio...
🎥 Apple Interview Questions: • Apple Interview Questi...
About Channel:
We teach about how you can grow in life & educate about programming in Fun & Intuitional way.
About Me:
I am Aryan Mittal - a Software Engineer, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Timelines✨
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms
Amazing sir, the way you approach any problem is just the ideal way to approach in any interview. Great effort sir. Hats off!🤯
as we are doing step ++ after each level how does it ensure to get the shortest number of 0's required ?
great way of building intuition
Great Explanation, liked your energy the whole time.
Is it? this much is not required
Superb explanation
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!!!
What an amazing explanation , thank youu
Glad it helped you ❤️🫂
great explanation
How do we calculate shortest bridge if grid has >2 islands?
Nice Explanation Bro😊
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).
Cool !!!
thanks
🔥
why we not use dfs instead of bfs.
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
Put ur face as channel logo. Thanks me later...