01 Matrix | Leetcode 542 | DFS BFS DP | Google Uber Amazon

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • (00:00) Brute Force - DFS
    (06:00) Optimal - BFS
    (09:20) Optimal - DP
    Problem Link - leetcode.com/problems/01-matrix/
    Subscribe for more educational videos on data structure, algorithms and coding interviews - czcams.com/users/NareshGupta?s...
    Code Repository - github.com/naresh1406/youtube...
    Popular Playlists:
    Top Interview Questions: • Top Interview Questions
    Dynamic Programming: • Dynamic Programming - DP
    Graph: • Tree 🌳
    Tree: • Tree 🌳
    Array: • Array
    Binary Search: • Binary Search
    Linked List: • Linked List
    Stack: • Stack
    Backtracking: • Backtracking
    Trie: • Trie
    Combinations and Permutations: • Combinations and Permu...
    Best Time to Buy and Sell Stock: • Best Time to Buy and S...
    Intervals Problems: • Intervals Problems
    House Rober: • House 🏠 Robber
    Top Interview Questions - • Top Interview Questions
    May LeetCoding Challenge 2021 Playlist: • May LeetCoding Challen...
    April LeetCoding Challenge 2021 Playlist: • April LeetCoding Chall...
    March LeetCoding Challenge 2021 Playlist: • March LeetCoding Chall...
    February LeetCoding Challenge 2021 Playlist: • February LeetCoding Ch...
    January LeetCoding Challenge 2021 Playlist: • LeetCode December Chal...
    December LeetCoding Challenge Playlist: • LeetCode December Chal...
    November LeetCoding Challenge Playlist: • LeetCode November Chal...
    October LeetCoding Challenge Playlist: • LeetCode September Cha...
    September LeetCoding Challenge Playlist: • LeetCode September Cha...
    August LeetCoding Challenge Playlist: • LeetCode August Challenge
    July LeetCoding Challenge Playlist: • LeetCode July Challenge
    June LeetCoding Challenge Playlist: • LeetCode June Challenge
    May LeetCoding Challenge Playlist: • LeetCode May Challenge
    LeetCode Recent Contest ProblemsPlaylist: • Leetcode
    Follow me on -
    LinkedIn - / nareshiitg
    Facebook - / cookcodetravel
    Quora - www.quora.com/q/cookcodetravel
    #Google #Amazon #Matrix #DFS #BFS #Leetcode #Algorithm #DataStructure #Java #Preparation #NG #nickode #CookCodeTravel #CCT

Komentáře • 12

  • @SaisankarGochhayat
    @SaisankarGochhayat Před 2 lety

    Good explanation of DP approach why we need the problem into top-left and bottom-right

  • @SanjeevKumar-iz4rf
    @SanjeevKumar-iz4rf Před rokem +2

    Amazing Explanation. Please Keep it up.
    🤩

  • @mruduladdipalli5417
    @mruduladdipalli5417 Před rokem +1

    Awesome Man, spent 3 hours on others video to understand the solutions, your DP solution amazed me, once again great work 🔥

  • @meher94
    @meher94 Před 2 lety +2

    Thanks for the explanation buddy.

  • @yogendramaarisetty
    @yogendramaarisetty Před 2 lety +3

    Really good solution and explanation

  • @gunjanchaudhary6905
    @gunjanchaudhary6905 Před 2 lety +1

    thanks for the explanation

  • @notaniitian3988
    @notaniitian3988 Před 2 lety +3

    Bro there are already ton of lectures and solutions in English already on YT . Please narrate in hindi and let us grasp the approach easily.