Company: Tech Mahindra_6oct
Difficulty: medium
Secure File Transfer Optimization Problem Description The information security company secureIT wishes to send data to its headquarters. The data is defined as a sequence of N different files, each identified by a unique number from 0 to N-1. The company has M types of amplifying strength available in certain amounts which are used to send files to headquarters. Each file requires specific amounts of M types of amplifying strength in order to be sent successfully. Initially, each file has its own amplifying strength of each of M types, which may or may not be sufficient for file transfer. When a file is successfully transferred, it releases all its used amplifying strength back to the company's available amplifying strength of the corresponding type so that it can be used to transfer another file. If the requirement of two files can be fulfilled at a time with the available amplifying strength of M types, then preference is given to the file with a smaller file ID (e.g., file ID 0 will