Cashfree | 2022 | Application Deployment: Minimizing Maximum Vulnerability

Question · Posted Apr 2026

Problem Statement: Application Deployment The Scenario: HackerRank developers need to deploy an application on exactly k servers selected from a sequence of n available servers. Each server has a specific vulnerability score. The Selection Rules: You must select a subsequence of exactly k servers. No two adjacent servers from the original sequence can be chosen (to avoid congestion). The Objective: The overall vulnerability of the chosen set of k servers is defined as the maximum vulnerability score among the k ...

The full answer & interview discussion are available to premium members.

Log in Create a free account