Find a Mother Vertex in a Graph | GeeksforGeeks

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 เม.ย. 2016
  • Explanation for the article: www.geeksforgeeks.org/find-a-m...
    Read More: www.geeksforgeeks.org/find-a-...
    This video is contributed by Pranav Nambiar.

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

  • @kapilgahlot7498
    @kapilgahlot7498 6 ปีที่แล้ว +21

    Its already written on geeksforgeeks . we can also read . explain in simple manner .

    • @akarshrana5828
      @akarshrana5828 4 ปีที่แล้ว +1

      Exactly, video is such a waste

  • @Deb1an
    @Deb1an 4 ปีที่แล้ว +8

    that dude is just reading the lines -_- please give a visual example of the cases

  • @toancaro
    @toancaro 3 ปีที่แล้ว +2

    This is how I understand this algorithm:
    - If v is a mother vertex -> every vertices that can reach u are also mother vertices
    - With abover statement, if you do a DFS, and you traverse a mother vertex --> the initial vertex used to do DFS is also a mother vertex
    - After you do a DFS, if there is unvisted vertex(s) left in the graph -> the previous DFS did NOT traverse through a mother vertex
    - Repeat the above procedure then you will find the mother vertex (if the graph have one)

    • @garamburito
      @garamburito 3 ปีที่แล้ว +1

      This is correct, however the solution is not otimal O(V(V+E)), I'm trying to understand how the O(V+E) solution works.

    • @AashayS
      @AashayS 2 ปีที่แล้ว +1

      @@garamburito he mentioned the O(V+E) only. Think about it.

  • @rishabhmalhotra1317
    @rishabhmalhotra1317 3 ปีที่แล้ว +10

    i doubt this guy really understand what he is saying just reading from the line lol

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

    Very good explanation 👍 thank you so much..

  • @anandsit043
    @anandsit043 7 ปีที่แล้ว +5

    @GeeksforGeeks: The proof is not clear. I am confused in
    case 1: if u finishes before v: then how this implies there is path from v to u ??

  • @snk649
    @snk649 4 ปีที่แล้ว +5

    Bhai padh rha he ki samjha rha hai

  • @HimanshuSingh-ob9qo
    @HimanshuSingh-ob9qo 4 ปีที่แล้ว

    Nice explanation

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

    Good explained

  • @anshumansingh6969
    @anshumansingh6969 5 ปีที่แล้ว +3

    see on 1.5x speed his accent is more at that speed.

  • @justterry6135
    @justterry6135 7 ปีที่แล้ว +2

    I am not trying to be prejudice, but i really want it be more audible.

    • @GeeksforGeeksVideos
      @GeeksforGeeksVideos  7 ปีที่แล้ว

      Thank your for your feedback, Shiwei.
      We will be adding subtitles to this video soon to supplement the shortcomings of the audio.

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

    at 10:34 he is saying v = 5, but actually v should be 6 here

  • @motivationforcse
    @motivationforcse 7 ปีที่แล้ว +1

    please try to be more audible. As I have to play it more than once to understand what you are saying.

  • @just_relax3110
    @just_relax3110 4 ปีที่แล้ว +1

    bhai yar history ku rha hai..

  • @xjsnjkil2070
    @xjsnjkil2070 7 ปีที่แล้ว +8

    Is geeksforgeek owned by Indian accent?

    • @usamaalioffical
      @usamaalioffical 6 ปีที่แล้ว +1

      geeks for geeks has been made by Indian computer science students

    • @ayushsrivastava3243
      @ayushsrivastava3243 6 ปีที่แล้ว +3

      GFG is product of IIT Roorkee (Mtech) pass out alumni.

    • @sumantkb
      @sumantkb 6 ปีที่แล้ว +2

      Whats the problem with Indian? Its just an accent.

  • @vikrambabariya5166
    @vikrambabariya5166 2 ปีที่แล้ว

    better proof can be given ...

  • @ankitsingh6384
    @ankitsingh6384 2 ปีที่แล้ว +1

    He is not even good at reading things, and i was expecting an explanation😂😂🤣🤣🤣

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

    bro use pen paper to explain

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

    Good explained