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.
Which makes no practical sense, does it?
Unnecessary to iterate over all letters of s2.
nice
It's anything but a good solution. Unnecessary lists, lambda functions and a while loop.
Ugly.
"get a string as text and an int as the rule of manipulation, and should return encrypted text"
So why don't you describe the rule?
"Find max(abs(length(x) − length(y)))" is the most retarded description I have found on this site in over 3 years.
pretty ugly tbh
Already done by someone
You need to delete the comment section. Then it must work.
will return an int value representing the unknown rune or -1 if no such rune exists.
okay nevermind haha
I don't understand this test case:
19--45=5? answer -1
19--45 = 64 right?
So how is the questionmark equal to -1?
and also what does it say then, 19--45=5-1 ?
What's going on here?
Yes.
You mean the last sample test in Python, right?
Typo in the last test's description: Input: '??*1=??' "Answer for expression": '??*11=??'
Should be '1' instead of '11' in "Answer for expression"
Loading more items...