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.
I am sorry. I was just trying to test some answers.
Great kata. Very challenging. My recognition to the autor, jaybruce1998. The last part is very tricky because of the eventual "parity".
Pleasantly challenging!!! Good job evk!
Mine is passing all the tests in Attempt. However shows "Exit Code: 139" and won't let me Submit it. Can anybody give some guidance?
Great kata dinglemouse. I do have a question, if the \n at the end of each line is not guaranteed then how can you really tell that the row ended? I mean, in your example, since there is no separation between the 2nd and 3rd row it looks like if the 2nd row is 92 characters long but in reality it is just 2nd nd 3rd row looking like one. Some guidance here please...
myjinxin2015 great job. Very, very challenging and particular. Took me very long to solve it but was absolutely worth it.
The most challening task is to be able to detect a pattern. If the string is split into smaller pieces and these pieces are consecutive to eachother you might have found a pattern. Once you have the pattern you can calculate the position of the first number of the pattern. I am trying to help without spoling the kata.
By the way, myjinxin2015, this is one of the mosy singular and challenging katas I have done. Congratulations. Keep it up!
Thank you for the kata. Good practice.
Thanks for the kata. Maybe it could be extended by adding the variable of direction being CW or CCW possible paths.
Congratulatins to myjinxin2015 for this challenging kata. I had to read and learn several things to figure it out. Also, my recognition to the creative solutions other people had provided.
math is not imported
I just ammended the Python translation. Hope it is better now. Thanks for the good advice!
Thank you very much. I know the code but not the actual translation process. I created the random tests as you suggested.
I found out that if you run 100 random tests, every now and then they all have the same result (False), so if we test 100 cases somebody returning only Falses would be right. I increased to 1000 test cases to lower the probabilities of such unfortunate occurrence.
I hope this is better now. Thanks!
Python translation has been submitted. Please let me know if needs some adjustment. Thanks.
Very nice Kata. However, I need to share that struggled forever trying to figure out the solution with Python 3.4.3. I kept getting errors. As soon as switched to 2.7.6 it worked smoothly. The weird part is that I tested my solution in a external Python 3 environment and worked. Something seems to be wrong with the Python 3.4.3 version. Do not know what but to the rest of the people, if the 3.4.3 does not work switch to 2.7.6.
Loading more items...