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.
convert it to array and remove that specific element ( that's what I did) there are better ways too;
Buckethead mentioned, now I have to pass this kata. I wonder what anagrams we can make out of Shawn Lane, Allan Holdsworth, John McGlaughlin, Joe Pass, Wes Montgomery, Pat Metheny, and Dave Fiuczynski
Depends on the language you are using.
How can I remove some specified char from a string?
In my code I got an error related to test code.I think they need to fix it?
That is good explanation thank you very much!
You're creating an array 1 element shorter that you should. When n is 1 you create an array of length 1 and then try to write two elements in it.
Actually it says "Index 1 out of bounds for length 1" in my codewars screen.
But it works on Intelijj.
I mean it might not be related to troubleshooting.
Read this: https://docs.codewars.com/training/troubleshooting/#expected-the-same
This comment is hidden because it contains spoiler information about the solution