Sum of System Vulnerability Over All Subsegments
Given an array of vulnerabilities for n servers, calculate the sum of system vulnerabilities for all subsegments. System vulnerability is defined as the product of the number of servers in a subsegment and the maximum vulnerability in that subsegment.
Asked at:
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Mid January, 2025
Amazon
Mid-level
Sum of System Vulnerability over All Subsegments: Given an array of vulnerabilities for n servers, calculate the sum of system vulnerabilities for all subsegments. System vulnerability is defined as the product of the number of servers in a subsegment and the maximum vulnerability in that subsegment.
Hello Interview Premium
Your account is free and you can post anonymously if you choose.