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.
One way is to keep the unique elements in a separate array or set and skip
arr.push([text[i], count]);
whentext[i]
is in this array or set. Regards, suic@Spindle: It's javascript.
What programming language?
It would also help to format your code.
Thanks)
You choose.
This comment is hidden because it contains spoiler information about the solution
Can you tell alternate option, please)
flat
is available in Node 11+This comment is hidden because it contains spoiler information about the solution
If you post your with proper markdown (remember to use a spoiler tag), then someone can help you.
This comment is hidden because it contains spoiler information about the solution
I can't decide if I love it or hate it. Is it a cool puzzle? Yes. Does it belong here? Sure, why not. Do you have to "prepare" before writing your code? Yes, and I suppose that is not a bad thing to learn. Because if you don't, you're gonna be mad after this kata.
Thank you! I thought, that I needed to plus numbers over a hundred. I make life difficult for myself:D
Somebody can me explain? Why in the task wrote for check /(SubtractSum(10), "apple");/ BUT in list 'fruits', 10 poit takes "10-pineapple"...
oh damn, so it is spelling mistakes. let me try that and I will update here lol thank you
Loading more items...