Server Investment
A network security administrator must protect networks at several locations from cyber-attacks.
Initially, the n
Formally, Given the arrays num_servers, money, upgrade, and sell, each with n integers, determine the maximum number of servers that can be upgraded to ensure optimal network security.
The result should be an array of n integers, where the i
Example 1 :
Input: num_servers = [4, 3], money = [8, 9], sell = [4,
2], upgrade = [4, 5]
Output: [3, 2]
Explanation:
Get one-to-one training from Google Facebook engineers
Top-notch Professionals
Learn from Facebook and Google senior engineers interviewed 100+ candidates.
Most recent interview questions and system design topics gathered from aonecode alumnus.
One-to-one online classes. Get feedbacks from real interviewers.
Customized Private Class
Already a coding expert? - Advance straight to hard interview topics of your interest.
New to the ground? - Develop basic coding skills with your own designated mentor.
Days before interview? - Focus on most important problems in target company question bank.