Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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?
This comment is hidden because it contains spoiler information about the solution
Node version 6.11.0 doesn't support it: https://node.green/
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...
Thanks, it's work!)
Seems to be working fine now.
Resolved then.
ty for answer
If there are duplicate entries you should just keep the one with the highest score.
Return as much results as possible, in the test case just 1.
"Should equal" is the result you are expected to give. You need to sort them alphabetically also, that's why Frank is before Frodo.
This comment is hidden because it contains spoiler information about the solution
tests are incorrect
Works properly now for me too. Good job fixing it.
Solved.
Seems to work for me now.
@zigi84, try again now.
Loading more items...