2 ms·
If have references you can pretty much always implement lists. First all you do not need mutability, you can implement linked lists form immutable cons cells, s
by gpderetta 10y ago
If have references you can pretty much always implement lists. First all you do not need mutability, you can implement linked lists form immutable cons cells, second python has mutable references so implementing linked lists is trivial (the fact that some objects are in fact immutable is immaterial).