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 comment is hidden because it contains spoiler information about the solution
jnz
just jumps to instruction, ifvalue != 0
and after that program continues.in result we should return
{"a": 1, "b": 8}
This comment is hidden because it contains spoiler information about the solution
Same problem!
I got the first test to pass but for the second I can't even figure out how that assembly code gets 409600 in any of the registers. I got 2400 doing it on paper. Help? :(
This comment is hidden because it contains spoiler information about the solution
But that was probably the last time you ever forgot about regex for solving a problem :)
This comment is hidden because it contains spoiler information about the solution
Same. I just wrote it in the order I thought it out though -- put the difficult part on the left, then filled in the simple part on the right. Would have changed it if I looked at it for more than a few seconds before submitting.