✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
You are inserting keys in a hash that uses quadratic probing as a way to handle collisions. The hash table has 9 slots and the has function is h(k) = k mod 9 and the probing function is f(i) = i2 where i = 0,1,2,3,4,...
h'(k) =
mod 9Keys to be inserted: 5,28,19,15,20,33,12,17,35
Using the above information, what will be the key inserted on slot 0 (Assume a zero-based array).