+1 vote
in Data Structures & Algorithms I by (110k points)
What are the disadvantages in implementing buddy system algorithm for free lists?

(a) internal fragmentation

(b) it takes so much space

(c) we no more have the hole lists in order of memory address, so it is difficult to detect if 2 holes remain adjacent in memory and shall be merged into one hole

(d) both a and c are correct

This intriguing question originated from Free List in division Types of Lists of Data Structures & Algorithms I

The question was posed to me in an online quiz.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
The correct answer is (d) both a and c are correct

The best I can explain: Internal fragmentation is an issue to be dealt and it takes so much space.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.