联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Java编程Java编程

日期:2019-03-23 11:18

Contents

Problem 0.1. 3 S17H Prove the 2-hash claim in the case t = 2. Assume that h is defined as

the following. Given an n-bit seed a = (a1, a2, . . . , an) and an n-bit key x = (x1, x2, . . . , xn),

the hash function is:

ha(x) = Xn

i=1

xiai mod 2.

Problem 0.2. 3 Let Q[1..n] be a min-heap with n elements. Describe the procedure

decrease-key which given an index i ≤ n and a positive value d, decreases the key at index

i by subtracting from it the value d.


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp