Company: Ciena_11nov
Difficulty: medium
Network Formation Problem Description A software development company aims to establish multiple shared computing systems within an office environment. The criteria for computers to be part of the same network are as follows: They must be adjacent to each other. Each network must include a minimum number of computers. The combined processing speed of the computers in the network must meet or exceed a specified threshold. A computer can belong to only one network. Given the processing speeds and the sequence of the computers, along with the network constraints, determine the maximum number of networks that can be formed. Function Description Complete the function maximumNetworks with the following parameter(s): int speed[n] : speed[i] denotes the processing speed of the i th computer int minComps : the minimum number of computers each network must have long speedThreshold : the minimum total processing speed a network must have Returns int : the maximum number of networks that can be for