Which of the following is an application of Red-black trees and why?

Giang Phạm

New member
Which of the following is an application of Red-black trees and why?
A. used to store strings efficiently
B. used to store integers efficiently
C. can be used in process schedulers, maps, sets
D. for efficient sorting
 
Answer: C
Explanation: RB tree is used for Linux kernel in the form of completely fair scheduler process scheduling algorithm. It is used for faster insertions, retrievals.
 

Tìm kiếm

Back
Top