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.
Java translation
Thank you for this great Kata, clever exercise.
You really should work on description of your Kata, only after reading the problem of brunobell i understood what is expected here.
Thanks for this great kata!
Thanks for the reply
Nothing wrong with the tests : your function is not perfectly exact so you can fail some random tests due to their inputs. (Your two divisions by 100 bring some float imprecision. You could also have noticed that all numbers are integers so don't put floats in there...)
Please look at some of the top solutions and you will see. Cheers.
Hi, great mathematical problem, had to help myself with google to fully understand the problem tough.
Just one suggestion: when I submitted the solution first time 2 errors poped up, next time with the same code only one poped, and on the third time there was no errors. I guess that something is wrong with the tests.
I agree. Once I read the explanation on Google under the name "Connect the ropes" I had no problem solving it. I think you should update the explanation part
Great mathematical problem. I have to admit, i used loops to get the solution which was too long and in the end i had to see solutions of others to simplify my code, but i learned something new. So in the end i just wanted to thank you for this great kata
Great brain teaser. I learned a lot trying not to use for or while. I used them a lot because I am still slerning, so this was a real chalange. After I succedded I wanted to bash my head against a wall when I saw the simplicity of the solution.
you're welcome!
This comment is old but the problem is still there.
The description should state if boolean should be considered as numbers or return None.
At the monent random tests expect None if there is a boolean in the area but very rarely test this kind of array (usually there would also be a letter in the array)
Great try - except example
Excellent brain teaser. Made many mistakes, in the end i had to consult other solutions to come to mine, but larned a lot. Thank you very much.