Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: