Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on “I've had to relearn coding to get through the new interviews”. Parent comment
Go and look at some Javascript answers on StackOverflow, and then consider why lots of websites are so slow!
Some random examples:
* Deduplicating an array; top answer is N^2: https://stackoverflow.com/a/9229932/265521
* Deduplicating array again: top answer is still N^2!: https://stackoverflow.com/a/14438954/265521
I've seen loads of similar examples. Maybe there is code that doesn't use any algorithms at all but it's probably not very interesting code.
There are no comments on this comment yet.
Go and look at some Javascript answers on StackOverflow, and then consider why lots of websites are so slow!
Some random examples:
* Deduplicating an array; top answer is N^2: https://stackoverflow.com/a/9229932/265521
* Deduplicating array again: top answer is still N^2!: https://stackoverflow.com/a/14438954/265521
I've seen loads of similar examples. Maybe there is code that doesn't use any algorithms at all but it's probably not very interesting code.