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've translated it a week a go, but not yet approved. Dunno if that's helpful :)
@rwood112 wait so is rollback(1) trivial? I was under the assumption that the argument for rollback denoted the number of moves to undo.
This comment is hidden because it contains spoiler information about the solution
I passed with a generator too, perhaps you just got lucky (fib(1045017) for me).
The biggest number in the tests should be 2M
:)) Thx.
Not a suggestion.
I posted to it's own thread in here, but rollback(2) should truncate the history beyond the rollback point. This means that by the time rollback(3) comes around, the history looks something like:
move #1
move #2
move #3
move #4
move #6
and you would rollback 3 to move #3
Hello! I didn't understand your point very well, but think I have a main idea of what you are referring to. You are trying to avoid the user writing code in capitals leters? I don't get it, actually.
I am not the Java translator but I added it in "ATTEMPT". Thanks!
OK. Can you give a fixed test which makes his code fail?
Which language please?
Fixed.