Graph Theory - Kruskal Algorithm [Disjoint Set] (Arabic)

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ • 21

  • @Donbcheap
    @Donbcheap Рік тому +2

    I understood this more than Prim Algorithm

  • @Miller4way
    @Miller4way 10 років тому +1

    Just brilliant , Thx , but you have forgotten to upload this session to ur dropbox :D

  • @ayasaber2567
    @ayasaber2567 10 років тому +2

    ربنا يجزاكيك كل خير ,
    ممكن الاكواد ؟؟

  • @Donbcheap
    @Donbcheap Рік тому

    وعليكم السلام ورحمة الله وبركاته

  • @visheshmaheshwari2663
    @visheshmaheshwari2663 4 роки тому

    Can you please send the code for counting number of MSTs in a graph I cannot understand it from visuals and i don't speak arabic. Thanks.

  • @mohamednabil9146
    @mohamednabil9146 7 років тому

    Sir, Minimax was in Flloyd if I remember correctly, not Dijkstra right ?

  • @amrmaghraby327
    @amrmaghraby327 8 років тому

    But why when i am solving on Disjoint only i must to decrement x and y before enter UNION_SET function and when i use Miniumm spanning tree i mustn't decrement it??????

    • @ArabicCompetitiveProgramming
      @ArabicCompetitiveProgramming  8 років тому

      I am not sure what seanrio you faced. Try to solve more problems. x and y are zero based positions in both Dijstra and other problems.

    • @amrmaghraby327
      @amrmaghraby327 8 років тому

      yes that what i was convinced with when solving disjoint but when i wrote MST it got WA and after removing decrementing it got AC

    • @amrmaghraby327
      @amrmaghraby327 8 років тому

      I was following this Scenario at line 72 and 73
      tausiq.wordpress.com/2013/05/30/minimum-spanning-tree-kruskal-algorithm-source-code-cc/

    • @ArabicCompetitiveProgramming
      @ArabicCompetitiveProgramming  8 років тому

      show your wrong code in some solving facebook groups and ask them why decrementing is WA
      probably it was already 0 based

  • @MohammedAli-xt9dy
    @MohammedAli-xt9dy 8 років тому

    ???more detail second minimum spanning tree

  • @m00oon
    @m00oon 5 років тому

    sir , can you please speak in english