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.
This kata is a duplicate of https://www.codewars.com/kata/combination-lock
Sample tests are broken: a
end
is missing.The second example of your description shows that positiv angles have to be rotated to the left (=> neg. to the right - a point for your description?!). So the example for 45 degree looks a little bit strange to me (even for a rotation to the right - "swapped values?"):
normally should be
Or where i'm wrong? (i know what you are doing here - but is it really a rotation?)
Interesting kata, but I have a few comments/questions: