Strongly Connected Components

Sdílet
Vložit
  • čas přidán 4. 05. 2016
  • Brief demonstration and explanation of Strongly Connected Components, this particular graph was copied from another video since i am too lazy to make one up myself :)

Komentáře • 49

  • @alexandrianova6298
    @alexandrianova6298 Před rokem +3

    Thanks. This was much more efficient and understandable than the manner in which this content is usually presented.

  • @fariasmaia
    @fariasmaia Před 4 lety +2

    perfect! I looked for a lot and your video is the best I've found about strongly coonected components.

  • @dukevin_
    @dukevin_ Před 7 lety +32

    Good explanation up until you said "you can kind of tell which are the SCC's". Yes it's obvious, but what about for graphs I can't tell? If I'm writing an algorithm, how can I tell which are the SCC's? You also explained what that the numerator/denominators are for the first graph, but you number the 2nd graph and not explain what the purpose was.

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

    simply wow, I had a quiz on SCC and I haven't any single idea how to solve these problem, then voila found the great video...thanks brother for saving my ass.

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

      Yes I’m learning this topic now and don’t understand the book, I’ve watched many videos, and this is the best.

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

    Recommended to watch at 1.25x speed .
    Good explanation by the way

  • @hollyj8650
    @hollyj8650 Před 2 lety

    Omg this is the best vdo of strongly connected components after I’ve watched for a few. Thanks so much please create more great content:)

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

    Your mode of explanation is awesome, expecting more videos from your side, keep going..

  • @xFROZENSECONDx
    @xFROZENSECONDx Před 8 lety

    thank you very much! please keep posting the videos.

  • @henry14ronnie
    @henry14ronnie Před 4 lety +14

    You explained a text book solution (algorithm), but failed to communicate where exactly does someone realize when he/she gets a SCC. For ppl who need further explanation - SCC is found on the second traversal, when DFS on a vertex finishes. The number of DFSes provides the number of SCC. In order to arrive at such a state, one has to follow the order of vertices obtained by the traversal of the transposed graph.

    • @ms_1918
      @ms_1918 Před 4 lety

      absolutely right just keep the post order of reverse graph and write it on actual grapg nodes, do DFS on original graph on the basis of descending post order when dsf end its a scc thanks,

    • @wewe-fx6un
      @wewe-fx6un Před 3 lety

      CLRS.

  • @visalbotrchan1431
    @visalbotrchan1431 Před 5 lety +2

    I really love how he explained it in a calm and relaxing way.

  • @anuragshah3433
    @anuragshah3433 Před 6 lety +1

    What if I go to f from a at 10:18 then b will never be traversed and it would form another SCC

  • @mdace34
    @mdace34 Před 8 lety

    thanks for the video. You explained this tricky topic very well.

  • @farouqalsalih2838
    @farouqalsalih2838 Před 2 lety

    Amazing explanation. One question though, do you cross out the letters from the list only when the numerator and denominator are both filled?

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

    Well explained !! Thanks a lot, after seeing so many dumb videos your explanation helped me understand this fucking problem. :)

  • @syedaaribaalam1790
    @syedaaribaalam1790 Před 6 lety +1

    Very well explained. Thank you

  • @yohannanjr
    @yohannanjr Před 5 lety +2

    Great.... Awesome tutorial simply understand

  • @muhiuddinhawa242
    @muhiuddinhawa242 Před 5 lety

    Is this method same as kosaraju's algorithm ??

  • @manishdas6525
    @manishdas6525 Před 5 lety +2

    do one where G originally has weighted vertices :3 except that its nice!

  • @anayaanson8095
    @anayaanson8095 Před 4 lety

    Really a good explanation... Really helped me... Thanks 4 this good explanation video... 😃

  • @julioserafimmartins385
    @julioserafimmartins385 Před 7 lety +1

    Can you explain why we need to do transpose of the graph to find the strongly connected component?

    • @EducateYourselfNow
      @EducateYourselfNow  Před 7 lety

      To make sure that if you have an edge say U->V where U and V are connected, then, in the second DFS, U would have finished before the start of V. If we don't make the transpose of the graph, then we cannot be sure of that.

    • @julioserafimmartins385
      @julioserafimmartins385 Před 7 lety +1

      Thanks! You help a lot of people. Thank you

    • @EducateYourselfNow
      @EducateYourselfNow  Před 7 lety

      Thank you Julio

  • @karannchew2534
    @karannchew2534 Před 3 lety

    So, what's a strongly connected component anyway?

  • @jadhavganesh231
    @jadhavganesh231 Před 6 lety +2

    Nice Work man!!

  • @alyssamarie3886
    @alyssamarie3886 Před 8 lety +1

    great explanation!! helped me a lot!

  • @bikashmazumdar4283
    @bikashmazumdar4283 Před 6 lety +1

    I agree with kevin, you did not explain how you come to a conclusion of the SCC.

    • @EducateYourselfNow
      @EducateYourselfNow  Před 6 lety

      hmm, okay, I ll upload another video on this with more detailed explanation.

    • @mintlata
      @mintlata Před 5 lety +1

      @@EducateYourselfNow Or you can just explain by words in the comments.

  • @Andy-yh7jk
    @Andy-yh7jk Před rokem

    thanks good job

  • @ironrobin
    @ironrobin Před 7 lety +1

    Are you Swedish?

  • @obadaashhab6539
    @obadaashhab6539 Před 7 lety

    what if tow nods have the same value

    • @EducateYourselfNow
      @EducateYourselfNow  Před 7 lety +1

      that would not be possible right? because they would not be discovered at the same time. What specifically are you referring to?

    • @AhsanKhan-eb2zb
      @AhsanKhan-eb2zb Před 6 lety

      It's possible when ur starting node say (a) has two paths let say to (b) and (c) then what will be the ordering of positions ?

    • @m.a6899
      @m.a6899 Před 5 lety

      @@AhsanKhan-eb2zb You just go in alphabetical order. That's the whole idea of topological sorting.

  • @MrSAmUrAioT
    @MrSAmUrAioT Před 6 lety +14

    This is hilarious... you spend 12 min to explain an algorithms that finds the SCC and then you find them by yourself? By hand? How is machine supposed to find that? You almost made it but then gave up towards the end...

    • @jielyu4943
      @jielyu4943 Před 4 lety +1

      His explanation is perfect. If you read the book Algorithms by DPV it is exactly how the book explains it. If you just want pseudo codes just go to geeksforgeeks and the link is attached. Stop the hate here thank you so much.
      www.geeksforgeeks.org/strongly-connected-components/

    • @zabuza8548
      @zabuza8548 Před 4 lety

      @@jielyu4943 He does have a point. He should've explained how algorithmically it can be found. You don't even need to draw G Transpose to find it manually.

    • @EducateYourselfNow
      @EducateYourselfNow  Před 4 lety

      please refer to my description

  • @serhan1615
    @serhan1615 Před 3 lety +1

    Terrible explanation. You make us watch the whole video and right at the end when we need to see how they're strongly connected you don't explain that portion lmao. Why did you circle those 4 components???