From a56d9c5c7809fc1b0c860de7fb4eb5f5c725b3a9 Mon Sep 17 00:00:00 2001 From: Hakan Serce Date: Fri, 5 May 2023 18:51:54 -0700 Subject: [PATCH] contents(algo): remove java.util.TreeMap from Hashtable implementations (#584) --- apps/website/contents/algorithms/hash-table.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/website/contents/algorithms/hash-table.md b/apps/website/contents/algorithms/hash-table.md index 6a7e43fe..d376d011 100644 --- a/apps/website/contents/algorithms/hash-table.md +++ b/apps/website/contents/algorithms/hash-table.md @@ -44,7 +44,7 @@ In the case of hash collisions, there are a number of collision resolution techn | Language | API | | --- | --- | | C++ | [`std::unordered_map`](https://docs.microsoft.com/en-us/cpp/standard-library/unordered-map) | -| Java | [`java.util.Map`](https://docs.oracle.com/javase/10/docs/api/java/util/Map.html). Use [`java.util.HashMap`](https://docs.oracle.com/javase/10/docs/api/java/util/HashMap.html) or [`java.util.TreeMap`](https://docs.oracle.com/javase/10/docs/api/java/util/TreeMap.html) (preferred) | +| Java | [`java.util.Map`](https://docs.oracle.com/javase/10/docs/api/java/util/Map.html). Use [`java.util.HashMap`](https://docs.oracle.com/javase/10/docs/api/java/util/HashMap.html) | | Python | [`dict`](https://docs.python.org/3/tutorial/datastructures.html#dictionaries) | | JavaScript | [`Object`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object) or [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) |