1. Home
  2. Engineering
  3. Computer Engineering
  4. Which statement is correct? A hash table

Added 28 Nov 2026

Which statement is correct? A hash table

  1. Follows the first-in first-out (FIFO) principle
  2. Has a time complexity of O(n)
  3. Follows the last-in first-out (LIFO) principle
  4. Gives an average search time of O(1) Correct answer

Correct answer

D. Gives an average search time of O(1)

MCQSEXAM

Explanation

A hash table gives an average search time of O(1).

Reference

Asked in: Engineering Computer Engineering Practice

https://en.wikipedia.org/wiki/Data_structure

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Engineering MCQs

Practise all Computer Engineering MCQs

Similar MCQs