ProgrammingModerate

A chained table with 10 buckets holds 30 keys. What is the average chain length?

  1. A. 10
  2. B. 30
  3. C. 1
  4. D. 3

Correct answer: D. 3

The load factor is 30 / 10 = 3, which is the average number of nodes per bucket.

More C Programming questions

Exams that ask this topic