What are red-black trees?



What are red-black trees?..

Answer / Kaushlendra Pratap Singh Gaur

Red-Black Trees are self-balancing binary search trees that were introduced by Russian computer scientist N. Sakarovitch and Hungarian computer scientist V. A. Liskov in 1978. They are used for efficient implementation of associative arrays (dictionaries) in programming languages, as they provide guaranteed logarithmic time complexity of operations like insertion, deletion, and search.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What do you mean by open addressing?

1 Answers  


Which data structure is used in arraylist?

1 Answers  


Can arraylist store primitives?

1 Answers  


How will you represent a linked list in a graphical view?

1 Answers  


Explain the term recursive case?

1 Answers  


What is circular queue in data structure?

1 Answers  


How to get the index of an array element?

1 Answers  


What is the quickest sorting algorithm?

1 Answers  


How can you implement a stack?

1 Answers   NIIT,


What is a hashers run?

1 Answers  


Describe stack operation.

1 Answers  


List the applications of set adt?

1 Answers  


Categories