Data Structures Cheat Sheet
Data Structures Cheat Sheet
[Data Structures I] [Data Structures II] [Data Structures III] [Data Structures IV] [Data Structures Cheat Sheet]
Search for
remove from remove from Random
add to end insert at middle In-order Access specific Notes
end middle Access
element
Although in-order
access time is
best case O(1); best case O(1); constant time, it is
Dictionary<K,T> worst case O(1) worst case O(1) O(1)* O(1)* O(1) usually slower than
other structures due to
O(n) O(n) the over-head of
looking up the key.