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.
I solved problem. My code was incorect. Check all test cases separately. Great Kata :)
I have the same issue:
"expected: but was:".
My code works fine. I don't know what's wrong here.
I tried to change my return statement to false in the second testcase and it was success. I guess it expects 'false' there...
Try System.out.println to figure out what is wrong
Thanks for your post!
Very nice kata. Thank you :)
I have solved the Kata and I liked it. Everything is ok. Thank you!
I think I know, why my code doesn't work properly. The decode(encodeStr()) gives different results. Sorry for disturbing you :)
This comment is hidden because it contains spoiler information about the solution
I have the same problem with test8. The input List is:
[ibb ?z?~ ???~z} ?? }?
z, ?? ??}? ???? ~~?; m?, z} ????? {|z??~ ??? ?, ?~z} ?? ?? }?z??. p???, ?z? [ rz?? (1865-1939)]But I dont understand how it can be decoded to expected String. The ????? can't be converted to expected word, because every letters are same. It looks like symbol '?' mean some problem with ASCII?
Moreover the 'ibb' has the 'b' and it's lower case, but expected 'I' which is upper case.
You forgot import java.awt.List;