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.
More than 9 months ago I said the same, that there is a problem, so you can't say: "Nobody had a complaint, nothing went wrong." I've already complaint.
The answer was the same: "A lot of people solved this Kata, so there can't be any problem...". And now you agree that there is a problem in Swift version of Kata.
The problem still occurs, and moreover: my last working solution (with one error) cannot be processed because of problems with classes and other stuff.
So, what's next? Will the Swift translation be corrected or removed?
Same here. The test case is wrong, and I can't pass using Swift. I spent hours second guessing myself.. What the heck?!
I tried but I do not get the Swift translation removed. It is just a very bad translation.
FrankK, I have passed sample tests through multiplying my radius by 2. I think the same situation with final tests. Swift language
Hi pegasusroe!
Sorry for my statement about you... Indeed, it is the Swift version and I must have been sleeping when I approved the Swift translation because it lacks the 'randomized test' of 25,000 at random coordinates.
I am not a Swift programmer but I will try to do something about it or eventually remove it. In the meantime the only thing you can do is switch to another language.
Swift. So it is the Swift version of this kata that is very wrong, perhaps? :)
I think something is VERY WRONG with you... :)
The kata is solved by more than 200 people. Each time with 25000 random coordinate pairs. Nobody had a complaint, nothing went wrong.
It must be a translation made by another user, that does not make this 'kata VERY WRONG'. No, all other languages will tell you 7. Can you please tell me which language you use?
There must be something VERY WRONG with this kata!
With the coordinate (-101.572654585255 , -111.898313933494), the RIGHT answer should be 7, this is my proof:
There must be something VERY WRONG with this kata!
With the coordinate (-101.572654585255 , -111.898313933494), the RIGHT answer should be 7, this is my proof: https://ggbm.at/cr6Rg3Nf
Yes, you're correct; good catch. I should have a guard statement up front ensuring that the two strings are of equal length. That's a case that should be added to the tests.
what if s1 = "ABCA" and s2 = "BCA"?
shiftedDiff("ABCA", "BCA") should return Optional(2).
Does that make any sense?