mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-29 07:19:17 +00:00
11 lines
532 B
Markdown
11 lines
532 B
Markdown
# 雜湊表
|
|
|
|
*雜湊表* 允許您將值與特定的鍵關聯。
|
|
您可能也知道它在 C++ 中被稱為 [*unordered map*](https://en.cppreference.com/w/cpp/container/unordered_map),在 Python 中被稱為 [*dictionary*](https://docs.python.org/3/tutorial/datastructures.html#dictionaries),或在其他程式語言中稱為 *associative array*。
|
|
|
|
這是我們之前談論 Vecs 時提到的另一個資料結構。
|
|
|
|
## 進一步了解
|
|
|
|
- [在雜湊表中存儲鍵和值](https://doc.rust-lang.org/book/ch08-03-hash-maps.html)
|