Feature #7: Divide Files Over the Network

Implement the "Divide Files Over the Network" feature for our "Network" project.

Description

We need to perform multiple operations on a large number of files over our network. Each file is represented by a lowercase English letter. The complete file list will be provided to us in the form of a string like "abacdc". The position of each letter tells us the sequence in which the files need to be processed. If multiple instances of a file are present, it means that multiple operations will be performed on that file. The file name mapping to characters is shown below:

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.