As of late, your usually high-performance computer has been acting rather sluggish. You come to realize that while you have plenty of free disk space on your machine, it is split up over many hard drives. You decide that the secret to improving performance is to consolidate all the data on your computer onto as few hard drives as possible. Given a Integer() used, representing the amount of disk space used on each drive, and a corresponding Integer() total , representing the total capacity of each drive mentioned in used, you should attempt to pack the data onto as few hard drives as possible. You may assume that the data consists of very small files, such that splitting it up and moving parts of it onto different hard drives never presents a problem. Return the minimum number of hard drives that still contain data after the consolidation is complete.
A small WPF application that will help solving the above stated case.
Get you a copy of the project up and running on your local machine for development and testing purposes.
Visual Studio 2019
Language: C#
Frameworks: .Net 5.0, WPF.
- Microsoft Visual Studio Community 2019 Version 16.9.4
- Windows 10 Home v.10.0.19042
- x64 based PC
- Nikos Kondylis - work - d-bug
This project is licensed under the MIT License - see the LICENSE.md file for details
- Clear your mind
- Inspiration