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.
It could be that you are not making sure you are giving the lexicographical solution. This means if the word being tested is billboardsa then the output should be 'a' even though 'b' appears first in the word.
Yes, using
console.log()
at start of the function.Look at how many solutions have passed in JS. Perhaps you could post the test that is not working and the result you are getting.
Which language?
Maybe you can find some hints in this FAQ.