DZY hash table p bucket number 0 p1 he want insert n number order give hash table for ith number xi DZY bucket number hxi hx hash function in problem assume hxxmodp Operation amodb denote take remainder division bHowever bucket contain element if DZY want insert number bucket fill conflict happen suppose conflict happen right ith insertion output if conflict happen output 1