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.
You must find the solution by yourself, not by reading the discussion. Giving a pattern is giving the solution.
Can someone explain me how to get to 100 in 15 steps I'm also stuck here. 91-14 = 77, 77+15 = 102. How to reach 100 ? Please give a pattern.
Ikr!
tests are fine, you actually can get there in 15 steps, just think about how you can do that
OH!!! It is length vs width. Sorry, my bad :)
If i must get exactly n'th position, then how do i get 100 in 15 steps? It is impossible. because 91 + 14 == 105 and if you move -> or <- by 15 from 105, you can not reach exactly 100. Check Haskell tests please.
This comment is hidden because it contains spoiler information about the solution
Square negative number equals square of this number without sign. Jesus Christ.
Too much time killed by 8kyu. Not worth it.
Why not 10 kyu then?
This is not 8kyu. Who approved this kata has to feel guilty.
In Haskell function returns Maybe Int, but test case expects Int. Types don't match. Change test cases so types match.
Still not fixed
Loading more items...