Bipartite Matching | Mice and Owls problem | Network Flow | Graph Theory

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • Network flow bipartite matching example with: the Mice and Owls problem
    Next Video: • Bipartite Matching | E...
    Previous Video: • Unweighted Bipartite M...
    Algorithms repository:
    github.com/williamfiset/algor...
    Similar Kattis Problem:
    open.kattis.com/problems/gopher2
    Video slides:
    github.com/williamfiset/Algor...
    Personal website:
    www.williamfiset.com
    ===================================
    Practicing for interviews? I have used, and recommend `Cracking the Coding Interview` which got me a job at Google. Link on Amazon: amzn.to/3cvMof5
    A lot of the content on this channel is inspired by the book `Competitive Programming` by Steven Halim which I frequently use as a resource and reference. Link on Amazon: amzn.to/3wC2nix

ความคิดเห็น • 12

  • @vladimirbazhin3883
    @vladimirbazhin3883 5 ปีที่แล้ว +15

    William, thank you so much for a nice example of Ford-Fulkerson algorithm application!
    That was the best explanation of how to apply this algorithm that's I've ever met (even better than in Sedgewick's course).
    And in general, I consider your channel the best source on algorithms and data-structures on TH-cam.
    Please, keep doing your videos!

  • @tuhinmukherjee8141
    @tuhinmukherjee8141 3 ปีที่แล้ว

    Sir, thank you for doing this. Your videos are amazing. The amount of effort you put in for a video! Absolutely amazing

  • @jagmeetsingh9812
    @jagmeetsingh9812 5 ปีที่แล้ว

    Thanks for wonderfully explaining the problem and solution. Grateful for your efforts please keep it up. Great work! (y)

  • @sideshowbob4996
    @sideshowbob4996 5 ปีที่แล้ว +1

    dude, your videos are awesome! this is far better explanation than on geeksforgeeks. its so underrated, you deserve more views btw!

  • @samtux762
    @samtux762 5 ปีที่แล้ว +1

    Good code. Many would just say
    Hole extends Mouse implements capacity

  • @uroobashahid8037
    @uroobashahid8037 ปีที่แล้ว

    thank you so much for this video truly appreciate you!

  • @davidrosen2705
    @davidrosen2705 5 ปีที่แล้ว

    you should keep doing vids vary interesting

  • @Garentei
    @Garentei 4 ปีที่แล้ว

    Now a little twist: Each mouse can run r units in any direction every second. Find the minimum time in which at least K mice will be safe ;)
    PD: Great video!

  • @epic_evryday
    @epic_evryday 3 ปีที่แล้ว

    Is it alright if I had the mice on the right side and the holes on the left so that the flow was coming from the holes? Everything else about the problem was the same.

  • @FusionX9000
    @FusionX9000 4 ปีที่แล้ว

    The 3blue1brown of computer science!

  • @ThePlacehole
    @ThePlacehole 4 ปีที่แล้ว

    This is a flow problem, not a matching one.

    • @DontTakeCrack
      @DontTakeCrack ปีที่แล้ว

      i think visually, he doesn't explain the connection well but he initially creates the edges that were fetched with max bipartite matching and then afterwards, reuses those edges in the network flow problem.