As with most linked list questions, this one involves an arcane trick from the neck-bearded playbook.