Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 975 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 975 Bytes

Silicon Valley

Objetivo desse desafio é usar o algoritmo de huffman p/ comprimir strings transformando ascii em binário e criando uma arvore de frequencia.

Placar

| User | Solution |

Input: String(Com apenas letras maiusculas) Output: String(Com apenas 0 e 1s)

Testes

Input:: "AAAAAABCCCCCCDDEEEEE" Output:: "0000000000001100101010101011111111010101010"

Geeks For Geeks - Greedy Algorithms | Set 3 (Huffman Coding) Geeks For Geeks - Huffman Decoding A quick tutorial on generating a huffman tree Techie Delight - Huffman Coding Compression Algorithm