Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on I had to give a wrong answer to get the job (2017). Parent comment
You usually have a pointer to the node where you want to insert.
I don't think many people would suggest using linked lists in cases where you actually do need to seek for the insertion point.
There are no comments on this comment yet.
You usually have a pointer to the node where you want to insert.
I don't think many people would suggest using linked lists in cases where you actually do need to seek for the insertion point.