阅读背景:

浙大pat | 牛客网甲级 1013 Hashing (25) 哈希表

来源:互联网 

题目描述

The task of this problem is simple: insert a sequence ofdistinct positive integers into a hash table, and output the positions of theinput numbers.  The hash function isdefined to be "H(key) = key % TSize" where TSize is the maximum sizeof the hash table.  Quadratic probing(with positive increments only) is used to solve the collisions.The task of this problem is simple:




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: