問題詳情
5.Which of the following data structures is a data structure that stores data in key-valuepairs?
(A) Stack
(B) Queue
(C) Heap
(D) Hash table
參考答案
答案:D
難度:適中0.5
書單:沒有書單,新增
用户評論
【不叫賭俠的陳小刀】評論
Hash table 是一種常見的數據結構,它將數據存儲為鍵-值對(key-value pairs)。在 Hash table 中,每個值都與一個獨特的鍵相關聯,可以使用這個鍵來快速查找、插入或刪除相應的值。