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.
OP solved it, closing
Yep brute force should time out. You need to come up with a faster solution.
Python added
upd: just realized it was not for me, sorry
You could submit a translation if you want.
i can't see the comment because it's marked as a spoiler
edit: after replying to the comment i can see it now? interesting. i'll do some googling, thanks!
This comment is hidden because it contains spoiler information about the solution
This was an absolute blast to figure out. I sent the description and Wiki article to a friend who said, and I quote, "my eyes are glossing over, what am I reading".
That being said, it took me like 3 days of work because I wrote the encoding function first, it passed the test suites, and then I realized different alphabets were a requirement. As usual, since I've only been learning Python for a little over a month, my solution is messy as can be.
Excellent kata!
Its possible to add py translation by anyone who has enought honor and skill.
Unfortunatelly, my py skill is low.
added wiki links
Would it be possible to have Python added for this as well? I already went and wrote a solution for it without realizing I couldn't try it out haha
Read this: https://docs.codewars.com/training/troubleshooting/#works-but-no
This comment is hidden because it contains spoiler information about the solution