Re:In Defense of Linked Lists
by sprawld on Saturday November 05, 2022 @07:33AM
(#33480470)
Donald Knuth's Dancing Links paper is a beautiful exploration of the power of linked lists. He uses a table with doubly linked lists (for rows and cols) to solve omino tiling. The linked lists allow for an elegant unpicking of rows (and re-attaching when backtracking)
The paper's a really enjoyable read, Knuth's tone throughout is "look at this, this is fun"
The paper's a really enjoyable read, Knuth's tone throughout is "look at this, this is fun"
https://arxiv.org/abs/cs/0011047