Hacker News new | past | comments | ask | show | jobs | submit login

A few years back we had a programming challenge to solve the generalized medium puzzle. If you want to try solving it through code check it out here: https://csacademy.com/contest/archive/task/circular_shift_so...

It also has a detailed description of the solution in the more complicated cases, depending on the parity of each dimension.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: