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.
The outputs for "expected" and "but was" are apparently swapped in the Java version, which is a bit confusing.
Very elegant use of elementary geometry!
Indeed. Thanks. Definitely one of my less bright moments...
I don't understand your list of 1-state TMs. They include TMs that have two different commands for state A and reading symbol A, such as this one:
const states = { "A": [
[0, L, "A"],
[0, R, "A"],
]};
So, are we talking about indeterministic Turing machines here? If so, does this mean that all subsets of possible pairs of movement direction and new state are admissible as the command for one state-symbol-pair?
I find it strange that "null" is to be assigned to the number of items appearing 0 times in the list. Everything that is not in the list does that, and that is a lot. ;-)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Getting to know the libraries? I am always happy to see such solutions, I learn a lot from them.
This comment is hidden because it contains spoiler information about the solution
You need to take into account that the circle has 4 sectors, and then the origin of the coordinate system.
It carries out one last step of the recursion.
Learned something new from this one, (namely "modulo 1"), thanks!
In the description, "V" is missing in the list of acceptable plumage symbols.
...and learned a new command. Thanks!
Great! It is indeed much more within the spirit of the von Neumann ordinals not to treat 0 as a special case, and also completely unnecessary.
Loading more items...