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.
Lots of guys passed the Rust kata so I am sure there is a problem in your code.
Avoid to mutate the input; don't sort too soon; rather square elements of a instead of taking the square root of elements of b (you are introducing float approximations).
Good luck and notice than downvoting others' answers doesnt help:-)
This comment is hidden because it contains spoiler information about the solution
I tried some solutions and I saw no problems.
Really sorry, English is not my "mother-tongue" but it is not useful to be unpleasant...
I don't have any "ego". If you knew how old I am you could understand that.
I care that others could learn otherwise I wouldn't have written as many translations.
Moreover you downvote my posts to no avail since I could do the same with yours.
PS: by the way the description was rewritten by another guy... but it seems that it is the same gibberish:-) I am waiting your proposals and your authored kata. Criticizing is easy, doing is less.
This comment is hidden because it contains spoiler information about the solution
In the explanation it is said:
I think you wrongly read the description or maybe I didn't understand your post. You can note that 350 guys passed the Rust kata.
Exactly. This is very readable and readability is more important than performance. Also, this may be even more performant, particularly for small arrays, because you can use existing, already optimized functions instead of writing custom code that neeeds to be interpreted.
This comment is hidden because it contains spoiler information about the solution