csfieldguide/static/interactives/huffman-tree/js/huffman-tree.js
Function generateTree
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function generateTree() {
var text = $("#text-input").val();
var letter_counts = letterCounts(text);
var letter_count_array = createNodeArray(letter_counts);
var dot_notation = '';
- Create a ticketCreate a ticket