✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Suppose I have the following bookshelf and I wanted to insert the new book into it.
The worst-fit algorithm would say that I would put a book in…