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.
OK.
Thank you. I have responded in the channel you have opened.
Then my solution for TypeScript also would not pass, because they are functionally identical.
I lost my time... For your example: JS, Rust, C# and TypeScript give the same expected
"Jacob"
. I suspect you mutate the input string (?).Hi. Can someone help me with the problem? When I run my code of this task in another place (www.codepen), I receive a correct results of incorrect tests.
Testing Rank: st="Emma,James,Jacob,Madison,Naoh", we=[1,6,5,1,3], n=2
Expected: 'James', instead got: 'Jacob'
hello, I have joined the room at the link you have mentioned but how do I open a private channel? appreciate some help here.
You can go to https://gitter.im/Codewars/codewars.com and try to open a private channel.
Please could you give some examples?
Hey g964,
I'm a fan of your katas. Is there any way to get in touch with you on a 1-on-1 basis please?
regards,
vish
dude, your code is simply on a whole another level! i'm at a loss for words!
Wow, this kata, for my standards at least, does not feel like a 6 Kyu. I'm pretty blank trying to think of a custom algorithm to solve this problem. And i'm not ashamed to say that out loud here :)
Yes, kindly enable python 3+ versions as frankly, i'm familiar with the syntax of py3+ versions.
Hi @dcieslak,
Thank you for your response and no issues. I figured out what the error was. During the first pass to find the elements for the 2nd row, I wasn't taking into account the cyclical effect in case the input code had a "z", but fixed it now. I'm happy now cos I didn't resort to forfeiting the kata :)
Thanks again yo :-)
Sorry, I didn't have time to check it earlier. Anyway, your
d1
is missing mappings in some cases.Here is the
d1
from one of your failures:{'y': 'w3', 'v': 'm10', 'u': 'm9', 'z': 'z1', 'p': 'm4', 'w': 'w1', 't': 'm8', 'm': 'm1', 's': 'm7', 'x': 'w2', 'o': 'm3', 'k': 'k1', 'n': 'm2', 'l': 'l1', 'q': 'm5', 'r': 'm6'}
And your code tries to map a
b
from it.Just add
print(d1)
to your code and you'll see on your own eyes:Good luck with fixing it!
Loading more items...