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.
OPs attempted language is Ruby.
Perfect, I am glad for you!
I have solved the Kata and I liked it. Everything is ok. Thank you!
You are welcome! Tell me if you succedd.
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
Is that your print of input in "encode" function or "decode" function?
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.
Glad it had this impact on you too :)
You can log to the console the input and your output.
Thanks for your feedback and it's always good to become familiar with BigDecimal!-)
I can assure you that there is no need of BigDecimal. Look at others' solutions.