Questions
Questions

4510_COMP_SCI_2009 W03 测验:哈希表

Single choice

假设我们有一个哈希函数 f(x) = x mod 3。输入 13 的哈希值是多少?

Options
A.0
B.2
C.1
D.3
View Explanation

View Explanation

Verified Answer
Please login to view
Step-by-Step Analysis
题目给出的哈希函数是 f(x) = x mod 3,表示把输入 x 除以 3 的余数。 选项逐一分析: 选项 0:0。若将 13 代入 f(x) ......Login to view full explanation

Log in for full answers

We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!