Master Mathematics.

Programming · Data Structures · Problem 6

Linear probing with h(x) = 3x mod 10

A hash table of size uses with linear probing. Starting empty, the keys are inserted. The indices where and are stored are

  1. (A) and
  2. (B) and
  3. (C) and
  4. (D) and

Source: GATE DA