Update README.md

This commit is contained in:
bt3gl 2023-07-29 20:34:26 -07:00 committed by GitHub
parent 8a30000724
commit 937183da0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,14 @@
<br> <br>
* unlike an array, a list does not provide constant time access to an index (as it needs to interact through all k elements), however addition and removal of elements are constant time.
* to remove a node you set `prev.next` equal to `node.next`. if it's a double list, you also update `node.next` with `node.next.prev` to `node.prev` (and deallocate the memory).
<br>
----
### `LinkedListFIFO.py` ### `LinkedListFIFO.py`
<br> <br>