add the comparison

This commit is contained in:
Jidong Xiao
2025-02-11 13:48:39 -05:00
committed by JamesFlare1212
parent b26a3d31f7
commit dbb48b9aa1

View File

@@ -13,9 +13,6 @@
| **Fast random access required** | ✅ | ❌ |
| **Memory efficiency is important** | ✅ | ❌ |
| **Iterators should remain valid** | ❌ | ✅ |
| **Heavy insertions/deletions at the end** | ✅ | ✅ (but `std::vector` is better) |
| **Cache locality and performance are important** | ✅ | ❌ |
| **Large number of elements (better memory utilization)** | ✅ | ❌ |
## 11.1 Basic Linked Lists Mechanisms: Common Mistakes