4 ms·
Made a small error: f n (i,j) = (i - 1)*n + j These also work for when i > n as long as j is between 1 and n.
by pinopinopino 6y ago
Made a small error:
f n (i,j) = (i - 1)*n + j
These also work for when i > n as long as j is between 1 and n.