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.
In java when i use String.charAt(0) function it says this:String index out of range:0.
i have solved the encode correctly but cannot run it because of this issue.
Can someone explain what do i have to actually do in this code to match the output
great puzzle
I am working in Java. Have run some standard tests(basic output for what was written in the assert part) in other idles where i am getting nth Hammming number perfectly.
The test part of the codewars is getting the green light but when I attempt the solution, its say time out. Can't really understand where the problem has risen.
My code is perfectly logical and correct.
This comment is hidden because it contains spoiler information about the solution
What is the value inputed in test 6???
All the other tests went well but 6.
I want to know the input to get the correct output and check if i am wrong or you have made a mistake.
i did the same but it showed error
I wrote exactly the same thing but they showed an error