We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 924c9a7 commit 2f24f57Copy full SHA for 2f24f57
book/content/part03/hashmap.asc
@@ -301,7 +301,7 @@ Hash Map it’s very optimal for searching values by key in constant time *O(1)*
301
.2+.^s| Data Structure 2+^s| Searching By .2+^.^s| Insert .2+^.^s| Delete .2+^.^s| Space Complexity
302
^|_Index/Key_ ^|_Value_
303
| Hash Map (naïve) ^|O(n) ^|O(n) ^|O(n) ^|O(n) ^|O(n)
304
-| Hash Map (optimized) ^|O(1)* ^|O(n) ^|O(1)* ^|O(1)* ^|O(1)*
+| Hash Map (optimized) ^|O(1) ^|O(n) ^|O(1)* ^|O(1) ^|O(n)
305
|===
306
{empty}* = Amortized run time. E.g. rehashing might affect run time.
307
// end::table[]
0 commit comments