3 ms·
What if the linked list is cycled or doubly-linked?
by eimrine 2y ago
What if the linked list is cycled or doubly-linked?
- amelius 2y agoThen Rust isn't the right tool for the job. Rust is great for tree-like structures which is 99% of what you encounter anyway. Unless you're writing a kernel or something.
- jkaptur 2y agoI was talking about this case in particular, where we know the list is basically isomorphic to the call stack.