Strongly Connected Components

Поделиться
HTML-код
  • Опубликовано: 11 янв 2025

Комментарии • 50

  • @alexandrianova6298
    @alexandrianova6298 2 года назад +4

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

  • @elizabethkourbatski6413
    @elizabethkourbatski6413 2 месяца назад +2

    Understood in less than 5 minutes! Thank you so so much!

  • @fariasmaia
    @fariasmaia 4 года назад +2

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

  • @kaleemsattar3603
    @kaleemsattar3603 4 года назад +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 3 года назад +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 3 года назад +3

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

  • @hollyj8650
    @hollyj8650 3 года назад

    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:)

  • @henry14ronnie
    @henry14ronnie 5 лет назад +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 5 лет назад

      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 4 года назад

      CLRS.

  • @edwardphilipluis4174
    @edwardphilipluis4174 3 года назад +1

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

  • @dukevin_
    @dukevin_ 8 лет назад +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.

  • @visalbotrchan1431
    @visalbotrchan1431 5 лет назад +2

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

  • @gopalsankar1906
    @gopalsankar1906 2 года назад +1

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

  • @anuragshah3433
    @anuragshah3433 7 лет назад +2

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

  • @anayaanson8095
    @anayaanson8095 4 года назад

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

  • @xFROZENSECONDx
    @xFROZENSECONDx 8 лет назад

    thank you very much! please keep posting the videos.

  • @mdace34
    @mdace34 8 лет назад

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

  • @bikashmazumdar4283
    @bikashmazumdar4283 7 лет назад +1

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

    • @EducateYourselfNow
      @EducateYourselfNow  7 лет назад

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

    • @mintlata
      @mintlata 5 лет назад +1

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

  • @manishdas6525
    @manishdas6525 6 лет назад +2

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

  • @yohannanjr
    @yohannanjr 5 лет назад +2

    Great.... Awesome tutorial simply understand

  • @farouqalsalih2838
    @farouqalsalih2838 2 года назад

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

  • @syedaaribaalam1790
    @syedaaribaalam1790 6 лет назад +1

    Very well explained. Thank you

  • @karannchew2534
    @karannchew2534 3 года назад

    So, what's a strongly connected component anyway?

  • @MrSAmUrAioT
    @MrSAmUrAioT 7 лет назад +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 5 лет назад +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 5 лет назад

      @@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  4 года назад

      please refer to my description

  • @julioserafimmartins385
    @julioserafimmartins385 7 лет назад +1

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

    • @EducateYourselfNow
      @EducateYourselfNow  7 лет назад

      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 7 лет назад +1

      Thanks! You help a lot of people. Thank you

    • @EducateYourselfNow
      @EducateYourselfNow  7 лет назад

      Thank you Julio

  • @jadhavganesh231
    @jadhavganesh231 7 лет назад +2

    Nice Work man!!

  • @muhiuddinhawa242
    @muhiuddinhawa242 6 лет назад

    Is this method same as kosaraju's algorithm ??

  • @alyssamarie3886
    @alyssamarie3886 8 лет назад +1

    great explanation!! helped me a lot!

  • @obadaashhab6539
    @obadaashhab6539 8 лет назад

    what if tow nods have the same value

    • @EducateYourselfNow
      @EducateYourselfNow  8 лет назад +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 6 лет назад

      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 6 лет назад

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

  • @ironrobin
    @ironrobin 8 лет назад +1

    Are you Swedish?

  • @Andy-yh7jk
    @Andy-yh7jk Год назад

    thanks good job

  • @VillainxLife
    @VillainxLife 3 года назад +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???