3 ms·
The code might be short and to the point, but it definitely is not easy for me to understand! The code feels like a bit like clever perl one-liners.
by sandos 10y ago
The code might be short and to the point, but it definitely is not easy for me to understand!
The code feels like a bit like clever perl one-liners.
- fiveop 10y agoOr you could just loop n-1 times and adjust the array indices in the loop body, so that each statement only deals with one corner.