Huffman coding algorithm - Inside code

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

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

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

    Damn I really needed video on this! Thank you so much! Please keep on doing such amazing work

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

      You're welcome!

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

    Love your videos, they help so much when trying to learn!

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

    Thank you very much, although I still have doubts on how to print this methods so I can follow better the process, may you help me?

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

    Please make a video on Convex hull algorithm

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

    Hey! I was wondering if you can help me understand the quake2 Huffman coding inside cin video files maybe in a video?

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

    The example: 4:51

  • @sreeragm.s4323
    @sreeragm.s4323 3 ปีที่แล้ว

    Much needy.
    Thanks.

  • @friendsforever876
    @friendsforever876 3 ปีที่แล้ว

    Hey i really love your videos. They are more effective than our college lectures. What do you do for living? I think you are a professor at some university. Please tell what do you work...

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

      Thanks! I am still studying and for living I run inside code

    • @friendsforever876
      @friendsforever876 3 ปีที่แล้ว

      @@insidecode what are you studying masters or bachelor and which subject?

    • @insidecode
      @insidecode  3 ปีที่แล้ว

      Masters in AI

    • @friendsforever876
      @friendsforever876 3 ปีที่แล้ว

      @@insidecode All the best. I am recommending your videos to my juniors and friends. They love it

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

    Hi, Could you explain10:57 line 4 heapq.heapfify(pq) ? pq is a user-defined strucure, how heapq knows which one represents the priority?

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

      Hello, at 8:09 we defined the Tree class, and we defined the __lt__ method for it, which precises how should two Tree objects be compared, by frequency in our case.

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

      @@insidecode Thank you! I just figured it out! I really appreciate your reply! I developed the habit that the first thing in the morning I will do is watch one algorithm or data structure video on your channel! It takes me some time to absorb it but I learned a lot. After watching your explanation, I feel leetcode become easier to practice! Then I will practice at least 2 leetcode and watch neetcode's solution. You guys are both incredible!! Thank you!

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

      @@LunaFlahy You're welcome! Good luck!

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

    How would you implement this code?

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

      I implemented it, watch the whole video

  • @MohammadLsk
    @MohammadLsk 3 ปีที่แล้ว

    line 34 to 40 code is unreachable ( in build_map function ) !?

    • @insidecode
      @insidecode  3 ปีที่แล้ว

      Hello, why would it be unreachable?