Hacker News new | ask | show | jobs
by fiveop 3529 days ago
Or 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.