Question DSA-SRCH-0057
MediumWhich data structure lets you search, insert and delete in O(log n) and also keeps elements sorted?
- A.
A queue
- B.
A hash table
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Searching and Binary Search question
Which data structure lets you search, insert and delete in O(log n) and also keeps elements sorted?
A queue
A hash table
Sign up free to see the answer and a step-by-step explanation.
A balanced binary search tree
An unsorted array