Ad
  • Default User Avatar

    What's happening when you reassign the trie object to the new variable, node, in the outer loop? Doesn't it just continue to be a reference to trie throughout?

  • Default User Avatar

    This question may be more targeted at the Codewars environment than at this specific Kata, but does anyone know why Object.values(obj) will not work in my code?

    I have the following line, and I keep getting a reference error ("Object.values is not a function") even though my code works in other contexts...

    let highest = Math.max(...Object.values(counts));
    
  • Default User Avatar

    Sorry to heap on the praise, as it were, but I'm having the same alphabetization issue (Jill, Jared, etc.) as utahrider and others. Great kata otherwise, thanks!