3 ms·
Is it just me or does the grid initialization example seem extremely contrived?
by usefulcat 10y ago
Is it just me or does the grid initialization example seem extremely contrived?
- vilya 10y agoI thought that too. I found it hard to believe that anyone would write either of the first two versions without having thought of the 3rd - or, you know, just having 2 or 4 separate for loops. Maybe there was something about the problem's context that the author left out of the post though?