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

Iterating over a 2D array using nested loops is an O(N) operation. N is the size of your data, how it's represented in an array is irrelevant.


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

Search: