Beautiful solution. It's the same structure as mine but I think you got the style better in many ways. You taught me a better way to create multidimensional arrays!
I had a lot of questions about what it meant to use a | 0 to floor a and whether it was correct. To other asking themselves the same, here's what I've found in SO:
Beautiful solution. It's the same structure as mine but I think you got the style better in many ways. You taught me a better way to create multidimensional arrays!
A sample of brilliance.
I had a lot of questions about what it meant to use
a | 0
to floora
and whether it was correct. To other asking themselves the same, here's what I've found in SO:http://stackoverflow.com/questions/7487977/using-bitwise-or-0-to-floor-a-number
Hope it helps.