阿摩線上測驗 登入

申論題資訊

試卷:110年 - 110 國立中山大學_碩士班招生考試_資工系(甲組):作業系統與資料結構#104265
科目:中山◆資工◆作業系統與資料結構
年份:110年
排序:0

申論題內容

8. (15%) In the hash method, suppose that a rehash function hi(x)-(5i+x) mod 13 is applied sequentially when a new element is inserted into the hash table, but a hash colision occurs. In other words, h1( ) is applied for the first time; h2( ) is applied if a hash collision occurs; h3( ) is applied if a hash collision occurs again; and so on. What is the content of the hash table after the elements 35, 22, 9, 24, 16, 19, 3, are inserted sequentially into an empty hash table of size 13, indexed as 0 through 12 ?