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.
You made the same mistake I made before. You may have solved it by now.
You have to pay attention to how to deal with duplicate characters.
Thank you! I should be able to do this now
The result is an object: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object
In Javascript, what is the format of the result supposed to be? I have resturned the results as an array or joined into a string, and still don't get a correct answer.
Please use appropriate markdown formatting and flag your comment as a spoiler when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.
Your final if statement is fine, but you're calculating the sums incorrectly.
This comment is hidden because it contains spoiler information about the solution
UwUUUUUUUU
Thank you! My eyes were crossing trying to count that many letters. Pasting it side by side was smart.
That wasn't so hard, was it?
I feel like I'm losing my mind... I keep getting "expected 'Z-Pp-Ggg-Llll-Nnnnn-Rrrrrr-Xxxxxxx-Qqqqqqqq-Eeeeeeeee-Nnnnn-Uuuuuuuuuuu' to equal 'Z-Pp-Ggg-Llll-Nnnnn-Rrrrrr-Xxxxxxx-Qqqqqqqq-Eeeeeeeee-Nnnnnnnnnn-Uuuuuuuuuuu'"
What is the difference???