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.
What is the logic to be adopted when you have to rotate after G. Example. If you start in F# and need to rotate 7, in which letter/note do you need to stop?
And related to zero specifically, zero is positive
My friend, in my first attempt I was wrong, but I came here and saw the Chrono79 comment, paid attention to the description and the examples, tried to solve in my mind and conclude that the description and the example test cases, at least in Ruby (as Thiago Pelizoni always says, Ruby "what you take from life", just kidding), are good. In the first round, from nothing to a positive or a negative number, you do not have a change. I think this is the "trick" of this Kata.
Very poor description, but the Kata is not bad
Adjusted, thanks!
Same of the previous comment:
User answered with 2000
Right answer: 1
System says: "2000 should equal 1"
If I invert the order result in a wrong answer:
1 should equal 2000. No, should equal 1.
I think I did not understand the problem.
You have 90K (kyu). I think you have the privilege to edit the kata. If you do this, please explain your change.
Or please help me to understand better.
Thanks
Adjusted. Seems ok in the tests, but I did the same changes in the example tests and the changes was not exhibited in the example tests :(
About the order, please see the message returned:
"20000 should equal 1"
I forced the function in my solution testing the kata (I am changing the user solution, not the kata) to return 2000. In this case the message returned looks like ok, right?
Message returned: "20000 should equal 1"
2000 -> what user returned
should equal 1 (1 is the right answer).
Ok, right?
this link is locked to me
thanks, I will try to adjust when I arrive home
thanks, I will try to adjust when I arrive home
Adjusted, I understood, I think. User solution is the problem
Actual answer: "2 should equal 3".
User response is 2. The software was expecting 3. Is not clear?
Yes, we have random tests. Please verify again.
Adjusted. Ok?
Loading more items...