I enjoyed this one. Great tests. This is a good problem for test driven development, and it shows. Two suggestions:
State more explicitly in the problem that going out of bounds wraps around. The test for this was called "toroidal", but I didn't know what that meant.
This problem seems more difficult than 4kyu. Personally I'd peg it at 3kyu or 2kyu.
Already reported below.
PHP working for me. Maybe they fixed it.
I enjoyed this one. Great tests. This is a good problem for test driven development, and it shows. Two suggestions:
Thanks.
It's already been approved.
This comment is hidden because it contains spoiler information about the solution
; rdi = array (pointer)
; esi = size (unsigned int)
This comment is hidden because it contains spoiler information about the solution