Hacker News new | ask | show | jobs
by Anon1096 292 days ago
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.