Detailed Explanation of Adaptive Huffman Coding

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024
  • First geek tutorial on TH-cam

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

  • @hypolithbrousse7541
    @hypolithbrousse7541 วันที่ผ่านมา

    Maybe i missed something, but consider the stream : "aa"
    We first create node for 'a' increment it and his parent (root), then take the corresponding block and make sure to respect the conditions. Next, we have to treat another 'a', so we find the node 'a', and we check if it's leader of his block, but if we do so, 'a' will replace the root. There's no conditions to avoid this here. Can someone give a condition to avoid it ?

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

    at school we learned that we should put the output before we swap them (before we update the tree)

  • @tomhuynh8276
    @tomhuynh8276 6 ปีที่แล้ว

    That's very clear and interesting live demo of adaptive huffman coding, you earned a new sub !

  • @ndvz8672
    @ndvz8672 5 ปีที่แล้ว

    10:05 You didn't just swapped them. You did more than that without giving a reason and that's a bad teaching.

    • @lexzhang7289
      @lexzhang7289  5 ปีที่แล้ว

      Thanks for pointing out. Will improve next time.

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

      Yah try to illustrate the conditions while swapping uh mentioned earlier......