News for hackers. Stuff that matters.
Re:I Accidentally a Scheme by hajile on Wednesday November 15, 2023 @11:11AM (#38278285)
> A linked list is almost never the right answer.

And yet a subset of the linked list called a tree is usually the right answer to problems.

Re:I Accidentally a Scheme by TylerE on Wednesday November 15, 2023 @11:26AM (#38278481)
because it avoids all the pathological worse case performance unless you get insanely unlucky with the order the data is inserted... and even then you can do a rebalance if you're that concerned about it.