Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How to Rock an Algorithms Interview. Parent comment
(Also, if data is a linked-list, length() could be an O(n) operation. That would make this O(n^3) or O(n^4) ;))
There are no comments on this comment yet.
(Also, if data is a linked-list, length() could be an O(n) operation. That would make this O(n^3) or O(n^4) ;))