题目
Problem
The following list of eleven numbers is to be packed into bins of size 55
(a) Use the first-fit bin packing algorithm to pack the numbers into bins of size 55.
(3)
(b) Use quick sort to sort the list into descending order, showing the result after each pass. You must clearly identify the pivots used.
(4)
(c) Apply the first-fit decreasing bin packing algorithm to pack the numbers into bins of size 55.
(2)
题目中文翻译
以下十一个数字列表需要装入容量为 55 的箱子中
(a) 使用首次适应装箱算法将数字装入容量为 55 的箱子。
(b) 使用快速排序将列表按降序排列,显示每轮后的结果。必须清楚标明所使用的基准元素。
(c) 应用首次适应递减装箱算法将数字装入容量为 55 的箱子。