Skip to content

AnnularLabs/huffman-coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman-coding

  • HuffmanNode

    class HNode {
      constructor(str = null, weight = 999 , parent = -1, leftChild = -1, rightChild = -1) {
        this.str = str
        this.weight = weight,
        this.parent = parent,
        this.leftChild = leftChild,
        this.rightChild = rightChild
      }
    }

Example

example example

Notice

Diagram

diagram

About

Huffman-coding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published