4 ms·
You can do a singly linked list just fine. But with a doubly linked list, who owns the memory to each node? In reality, you can do a doubly linked list with s
by msdrigg 4y ago
You can do a singly linked list just fine.
But with a doubly linked list, who owns the memory to each node?
In reality, you can do a doubly linked list with something like `RefCell`.
See the famous blog post on linked lists in rust here: https://rust-unofficial.github.io/too-many-lists/fourth-building.html https://rust-unofficial.github.io/too-many-lists/fourth-buil...
- deleted 4y ago[deleted]