3 ms·
dang simply remembers all the item?id=N. Which is easy because they're sequential. To make the list, mentally go through the numbers and paste in the urls that
by pvg 6y ago
dang simply remembers all the item?id=N. Which is easy because they're sequential. To make the list, mentally go through the numbers and paste in the urls that are relevant.
- higerordermap 6y agoThat's O(n) sir, not worth it.