Maximum Independent Set in Trees (Linear Time Algorithm)

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

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

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

    Thanks bro I am a 2nd year CSE student from IIIT Delhi ..this is very logical explanation with dp involved

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

    "..in fact this problem is so important that I deal with it in my research.." 😊

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

    Extremely helpful, thanks!!!

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

    This was very helpful, thanks. just a thought : since the sub-trees are disjoint, isn't this rather just a divide and conquer algorithm? Why is it dynamic? There needs to be some Bellman relation that computes the max IS value for a certain node using the value for sub trees more than once, somehow i fail to see it. Thanks for the video.

  • @marcellok4645
    @marcellok4645 2 หลายเดือนก่อน

    thank you bro

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

    Isn’t the simple greedy algorithm guaranteed to provide correct results on trees?
    Select node with smallest degree (greater than 0), remove connected nodes, repeat until every node is connected.

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

      Ok, that wouldn’t be a linear time algorithm 😊.
      Thanks for your content, learned a lot!

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

    very helpful

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

    thank you