資料結構›Ch8 雜湊第 12 題/共 37 題
12. Hash Table、Collision Resolution
#DS-08-012易Hash TableCollision Resolution
(3%) The hash function [h(k) = k mod m] is used to map an integer key to one of the slots, indexed 0, ..., m-1, of a hash table of m slots. Let m = 7. The table is initially empty. After inserting the keys 8, 12, 3, 11, 1, 2 into the table in the given order, which of the following is(are) correct?
📄 交大112
▤完整推導請見《WH 資工筆記 · 資料結構》Ch8 雜湊