1. Home
  2. Computer Science MCQs
  3. Algorithms and Data Structures
  4. Which data structure provides O(1) time complexity for…

Added 12 Sep 2025

Which data structure provides O(1) time complexity for search, insert, and delete operations on average?

  1. Binary Search Tree
  2. Hash Table Correct answer
  3. Red-Black Tree
  4. B-Tree

Correct answer

B. Hash Table

16 views

MCQSEXAM

Explanation

Hash tables provide O(1) average time complexity for basic operations with a good hash function.

Reference

Asked in: GATE CS, UGC NET CS

https://www.geeksforgeeks.org/hashing-data-structure/

Preparing for an exam?

Doubts & discussion

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

Ask a doubt about this MCQ

Shown after review. No links please.

More Algorithms and Data Structures MCQs

Practise all Algorithms and Data Structures MCQs

Similar MCQs