coding golf style
Did you run uglifyjs before submit ?
I'm sure the author intended it that way, what I don't get is why?
Thank you for this kata!
This was a very smart solution. Wow.
Thanks creator - grat kata. Enjoyed it, learned some new stuff. Seemed a little tricky for a 6 to me, though.
With "CCCGGGTTTWWWW" this solution gives 85, the correct answer is 88.
This comment is hidden because it contains spoiler information about the solution
"This Solution is valid for just one unique number."
with map, string with spaces still return a str without no one uppercase letter, so that last filter is necessary to remove it
How does this work?
Edit: Issue Reolved.
Otherwise fun kata.
Python new test framework should be used (Refer this & this for more detail)
Ruby 3.0 should be enabled (Refer this & this for more detail)
['stone', 'stone', 'Gold', 'stone', 'stone']