-
-
Notifications
You must be signed in to change notification settings - Fork 361
Open
Labels
Implementation EditThis provides an edit to an algorithm implementation. (Code and maybe md files are edited.)This provides an edit to an algorithm implementation. (Code and maybe md files are edited.)ProblemThis is a problem in the archive or an implementation.This is a problem in the archive or an implementation.
Description
Whenever any (or most) of the Huffman Encoding implementations receive a string with only one character multiple times (think 'aaaaaaaaaaaaa'
, or 'bbbb'
). The functions fail and give either errors, or weird empty output. Here are some examples of Python, Java and Lua respectively. I assume this has to be fixed because it nowhere states in the chapter that it shouldn't work on one-character-strings.
Metadata
Metadata
Assignees
Labels
Implementation EditThis provides an edit to an algorithm implementation. (Code and maybe md files are edited.)This provides an edit to an algorithm implementation. (Code and maybe md files are edited.)ProblemThis is a problem in the archive or an implementation.This is a problem in the archive or an implementation.