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

КОМЕНТАРІ • 19

  • @DIVYANSHMNIT
    @DIVYANSHMNIT Рік тому +1

    Amazing sir, the way you approach any problem is just the ideal way to approach in any interview. Great effort sir. Hats off!🤯

  • @VishvajeetSinghNayalBCE
    @VishvajeetSinghNayalBCE 6 місяців тому +1

    as we are doing step ++ after each level how does it ensure to get the shortest number of 0's required ?

  • @sanchitagarwal9651
    @sanchitagarwal9651 Рік тому

    great way of building intuition

  • @sharan7504
    @sharan7504 Рік тому +2

    Great Explanation, liked your energy the whole time.

    • @kenadave
      @kenadave Рік тому

      Is it? this much is not required

  • @sahilanand30
    @sahilanand30 Рік тому +2

    Superb explanation

  • @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 Рік тому

    What an amazing explanation , thank youu

  • @prathamrajbhattnit-allahab4108

    great explanation

  • @lonen3rd
    @lonen3rd Рік тому

    How do we calculate shortest bridge if grid has >2 islands?

  • @sundarbsr4275
    @sundarbsr4275 Рік тому

    Nice Explanation Bro😊

  • @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).

  • @VijayTamada
    @VijayTamada Рік тому

    Cool !!!

  • @kunalkheeva
    @kunalkheeva Рік тому

    thanks

  • @MrKB_SSJ2
    @MrKB_SSJ2 Рік тому

    🔥

  • @adityamishra9496
    @adityamishra9496 Рік тому

    why we not use dfs instead of bfs.

    • @princepranav9021
      @princepranav9021 Рік тому +1

      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...