Skip to content

Commit

Permalink
removing println statements
Browse files Browse the repository at this point in the history
  • Loading branch information
leios committed Oct 23, 2021
1 parent feec6f2 commit de47f73
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions contents/huffman_encoding/code/julia/huffman.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,8 @@ end
function two_pass_huffman(phrase::String)
huffman_tree = create_tree(phrase)
codebook = create_codebook(huffman_tree)
println(codebook)
bitstring = encode(codebook, phrase)
final_string = decode(huffman_tree, bitstring)
println(bitstring)
println(final_string)
return final_string
end

Expand Down

0 comments on commit de47f73

Please sign in to comment.