Run Length Encoding Example 1 | Easy Method

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

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

  • @skpage6052
    @skpage6052  3 года назад +5

    NOTE : for simplicity i took small string that is why final code is larger than input string

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

    Great video,,,thumbs up.

  • @mercy_syonzi
    @mercy_syonzi 3 года назад +2

    Thankyou so much. And also thankyou for using English. May God bless you in Jesus Christ's mighty name AMEN.

  • @anandm.a1363
    @anandm.a1363 5 лет назад +6

    Sir.. Final code seems larger than original code.. Then how can we say it is compressed..?

    • @yalinbahadir
      @yalinbahadir 5 лет назад +6

      That is the worst case of RLE. When your text changes very fast, RLE opeartes bad. So it is an encoding method rather than compressing method.

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

      for simplicity i took small string that is why final code is larger than input string

  • @nathaaa832
    @nathaaa832 5 лет назад +4

    thank you so much

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

    Hello please your solution didn't match with a question I got.. Take for example from step 1 you have (1,15) (0,19) and (1,4). When you apply step 2 with your solution, you'll get log 3 base 2 = 0.176 which is not the actual number of bits. Kindly explain

    • @rohanpk4261
      @rohanpk4261 11 месяцев назад

      what are u asking??? what you asked is not in the explanation...what is it??

  • @veena9823
    @veena9823 5 лет назад +3

    Tnx bro tmrw is my exam😃

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

    WRONG EXPLANATION
    If there were 10 zeroes at first how would you represent it in 3 bits
    8 term bana hai isliye log 8 base2 = 3
    KUCH BHIII ?!

  • @the_storm_ryder
    @the_storm_ryder 4 года назад +4

    2:02 where did you get the 2 from?

    • @selphietilmitt7237
      @selphietilmitt7237 4 года назад +3

      in CS, everything is base 2. think of everything as 2^x. in math class, you dont see the number because log base 10 is implied, but written out fully you would put log10 8. the two is just showing the base.

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

    Tq bro