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.
Haskell translation
Approved.
python new test framework + new version is required. updated in this fork
Ruby 3.0 should be enabled.
Yes, great. I updated the description a bit earlier, hope you don't mind.
Cheers
OK, if that is what you meant, I updated the instructions accordingly.
I meant to specify in the instructions that there may be '98's at the very end of the long number that you are decoding, and that sometimes there aren't. That part is intentional (and I'll fix it), however, the '98' should always be separating the binary component and the encoded text.
The use of
98
as a separator is not consistent (at least in python). Sometimes you have it at the end of the number, sometimes not. I don't know if it's intended, but it should be corrected or specified.Fixed the random generation, now only with 26 chars - thanks !
I think the JS translation doesn't match the requirements. Below is the reason why i said so.
Clearly that tells, we are dealing with the 26 alphabet letters. so where does some weird chars came from. ( I already have an idea how you translated it but it should be done according to the description :),i think. ) ``` Log 1091011131021151181051041191151091011131071151091141071201151201251161051181011141041151131121051201201051181199810000001001010100101010101010198102112101108101112119104110111106101112104119111106110101119104108107101119112104108107101119121112109104107108981000101001011981011191041111081071121041121011111101081079810001010010198119112105105116101104112106110112104101119104106104106104119115113105120108109114107109119114115120118101114104115113104101106104101106108104101112111110106108109114108105118105981000001010010101001010100101010101098117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123981000101010 [ '109101113102115118105104119115109101113107115109114107120115120125116105118101114104115113112105120120105118119', '100000010010101001010101010101', '102112101108101112119104110111106101112104119111106110101119104108107101119112104108107101119121112109104107108', '1000101001011', '101119104111108107112104112101111110108107', '100010100101', '119112105105116101104112106110112104101119104106104106104119115113105120108109114107109119114115120118101114104115113104101106104101106108104101112111110106108109114108105118105', '10000010100101010010101001010101010', '117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123', '1000101010' ] Test Passed: Value == 'iamboredsoiamgoingtotyperandomletters, 541758805, blahalsdjkfaldskfjasdhgasldhgasulidgh, 4427, asdkhgldlakjhg, 2213, sleepadlfjldasdfdfdsomethingisnotrandomdafdafhdalkjfhinhere, 17526510250, qertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwww, 554' Log 10912310912311012212510511812711112698100000110981271251021049810198124105124122113122 [ '109123109123110122125105118127111126', '100000110', '127125102104', '101', '124105124122113122' ] It should work for random inputs too - Expected: 'iwiwjvyer{kz, 262, {ybd, 5, xexvmv', instead got: 'iwiwjvyerkz, 262, ybd, 5, xexvmv'Your instruction said.
Ok, JS and Crystal translations are there as well for you to approve; cheers :)
Ruby translation for you to approve and possibly get an idea about how to make random test cases; JS and Crystal versions should follow shortly :)