91热爆

First-fit decreasing algorithm question

Question

How many external hard drives, each of which can hold \(800GB\), are needed to store these computer files.

FileABCDEFGHIJK
Size (\(GB\))\(200\)\(600\)\(700\)\(400\)\(300\)\(200\)\(500\)\(100\)\(400\)\(100\)\(300\)
File
A
B
C
D
E
F
G
H
I
J
K
Size (\(GB\))
\(200\)
\(600\)
\(700\)
\(400\)
\(300\)
\(200\)
\(500\)
\(100\)
\(400\)
\(100\)
\(300\)

Related links