aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Data Structures and Algorithms Fundamentals
  • A set of values (23, 18, 29, 28, 39, 13, 16, 42, 17) are ...
Multiple choice

A set of values (23, 18, 29, 28, 39, 13, 16, 42, 17) are stored in an array having 11 locations (array indexes starts from 0) using quadratic probing and primary hashing function of key modulus number of locations is used. Possible locations of 17 and 29 are:

  1. 1, 8

  2. 4, 8

  3. 2, 8

  4. 3, 9

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

null

Keep practicing — related questions

  • The keys 12, 18, 13, 2, 3, 23, 5 and 15 are inserted into an initially empty hash table of length 10 using ...
  • The keys 12, 18, 13, 2, 3, 23, 5 and 15 are inserted into an initially empty hash table of length 10 using ...
  • Consider a hashing function that resolves collision by quadratic probing. Assume the address space to be in...
  • A hash table of length 10 uses open addressing with hash function h(k)=k mod 10, and linear probing. After ...
  • A hash table of length 10 uses open addressing with hash function h(k)=k mod 10, and linear probing. After ...
  • Given the following input (4322, 1334, 1471, 9679, 1989, 6171, 6173, 4199) and the hash function x mod 10, ...
  • Given the following input(4322,1334,1471,9679,1989,6171,6173,4199) and the hash function x mod 10, which of...
  • Index a[5] represents the number of integer in array ___________.
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy