Hacker News new | ask | show | jobs
by suremarc 1324 days ago
This is assuming you already have a pointer of the element you're removing, or a neighbor thereof. Otherwise, you'd have to traverse a portion of the linked list, which has a significant amount of per-element overhead.