Company: Eqifax_23july
Difficulty: medium
Network Infrastructure Cost Optimization Problem A cybersecurity consultant is helping an organization redesign its internal communication network after a security audit revealed compliance gaps. The network consists of N + 1 secure nodes labeled 0 through N , where node 0 is the primary security gateway. The current network has two types of encrypted channels: Ring Channels: N peer-to-peer channels forming a circular ring. For each i from 1 to N , there is a channel between node i and node (i % N) + 1 . Disabling this channel costs ring[i] credits. Gateway Channels: N direct channels from the security gateway (node 0) to each operational node i ( 1 <= i <= N ). Disabling the channel to node i costs gateway[i] credits. When a channel is disabled, the organization incurs a one-time decommissioning cost (equipment removal, reconfiguration, security audits, etc.). Nodes themselves cannot be removed. Security Compliance Requirement: the network must be restructured so that the nodes