# (Solved):Design a greedy algorithm using pseudocode that solves this optimization problem of transferring files to disk while minimizing unused storage. The inputs to this algorithm are the number of files… View Answer…

Question

Design a greedy algorithm using pseudocode that solves this optimization problem of transferring files to disk while minimizing unused storage.

The inputs to this algorithm are the number of files n, corresponding sizes (in MBs) s1, … sn, m the number of disks, and corresponding storage amounts t1, …, tm. The algorithm should return an array map

$\left[i\right]$

$[i]

$

Scroll to top