The data transmitting network of MNC CompSoft transmits two types of data packets throughout code asked in wipro feb 2022
The data transmitting network of MNC CompSoft transmits two types of data packets throughout the network. The data packets are transmitted in batches. At the end of the day the company updates its database with the number of packets sent and received by the network. The company has a list of N batches to be transmitted through the network. Each batch is identified by batch ID ranging from 0 to (N-1). The list consists of the number of data packets that are transmitted per batch through the network. The batches received by the network are denoted by negative numbers and the ones sent by the network are denoted by positive numbers in the list. The company wishes to know the total count of the data packets sent through the network.
Comments
Post a Comment