Which of the following method performs poorly when elements are accessed in sequential order?

Which of the following method performs poorly when elements are accessed in sequential order?
A. count method
B. move to front method
C. transpose meth
D. ordering method
 
Answer: b
Explanation: Move-to-front method performs poorly when the elements are accessed in sequential order, especially if that sequential order is then repeated multiple times.
 

Tìm kiếm

Back
Top