π Exclusive Offer! Join our Telegram Channel to get **special discounts** and updates! π
Vaccination Drive
In order to curb the spread of the novel COVID-19 virus, the citizens of Hackerland need to be vaccinated on priority. There are center_nodes vaccination centers in Hackerland, where each center has a status denoted by status[i]:
β’ Centers with a shortage of vaccines have status 1.
β’ Those with sufficient vaccines have status 2.
β’ Those with a surplus have status 3.
Vac
Asked in: AMAZON MICROSOFT JUSPAY
People Bought: 0
Price (in Rs): 171.00
Optimal Points Selection
Given a set of n distinct points on the x-axis, choose k of them such that the minimum distance between any two chosen points is as large as possible. Find this maximum possible minimum distance.
Example
Consider n = 5, k = 3, and x = [1, 4, 2, 9, 8].
In the optimal solution, one of the possible selections of points is [1, 4, 8]. Here,
The distance between 1 and 4 =
Asked in: AMAZON MICROSOFT
People Bought: 0
Price (in Rs): 201.00
Optimal Points Selection
Given a set of n distinct points on the x-axis, choose k of them such that the minimum distance between any two chosen points is as large as possible. Find this maximum possible minimum distance.
Example
Consider n = 5, k = 3, and x = [1, 4, 2, 9, 8].
In the optimal solution, one of the possible selections of points is [1, 4, 8]. Here,
The distance between 1 and 4 =
Asked in: AMAZON MICROSOFT
People Bought: 0
Price (in Rs): 201.00
Drone Delivery Optimization β Amazon's Challenge
In Amazon's vast distribution network, drones are essential for delivering packages. These drones have varying capacities, ranging from 1 to 10βΉ. Each j-th drone has a carrying capacity of j.
Problem Statement
Amazon needs to dispatch n packages, where the weight of the i-th package is given by the array pack[i].During peak delivery times, only
Asked in: AMAZON
People Bought: 1
Price (in Rs): 153.00
GetMinimalCost
One of the products listed on Amazon Ecommerce is available in n sizes as indicated in the array size. The category manager recognizes that some of the sizes are repetitive and do not provide a good user experience. To make the best use of inventory, the product should be available in distinct sizes. The size of the ith product, size[i], can be increased by one unit for an amount
Asked in: AMAZON
People Bought: 0
Price (in Rs): 153.00
User Transaction Report for 2023
In the digital age, payment systems are essential for online transactions. For businesses managing these systems, understanding user activity is key to optimizing services and enhancing engagement.
A development team is tasked with creating a report that shows:
The total number of transactions made by each user.
The total sum of those transactions.
Analyzing t
Asked in: DOCUSIGN
People Bought: 0
Price (in Rs): 81.00
Roman Numerals
You are given an array of integers. Your task is to convert each integer into its Roman numeral equivalent.
The following table contains some reference values for converting between Arabic (standard integers) and Roman numerals:
Arabic - Roman
1 - I
4 - IV
5 - V
9 - IX
10 - X
40 - XL
50 - L
90 - XC
100 - C
400 - CD
500 - D
900 - CM
1000 - M
Example
Input: n
Asked in: DOCUSIGN
People Bought: 0
Price (in Rs): 51.00
Hackerrank developers want to deploy an application on a set of exactly k servers with different vulnerabilities. They have an option to choose the k servers from a sequence of n servers where vulnerability[i] represents the vulnerability of the ith server.
The vulnerability of the chosen k servers is defined as the maximum vulnerability amongst any of the chosen servers. To avoid congestion, t
Asked in: DOCUSIGN
People Bought: 0
Price (in Rs): 151.00
FindMaximumWeights
Amazon's fulfillment centers handle packages of various weights, and they need to optimize their sorting process.
Given an array weight that denotes the weights of n packages, the goal is to create the lexicographically maximal resulting array sorted in non-increasing order using the following operations:
1. Discard the first package from the current weight array.
2. A
Asked in: Amazon
People Bought: 1
Price (in Rs): 151.00
GetMaxThroughput
The developers at Amazon are working on optimizing database query times. There are n host servers, where the throughput of the i-th host server is given by host_throughput[i].
These servers are grouped into clusters of size three. The throughput of a cluster, denoted as cluster_throughput, is defined as the median of the three serversβ throughput values. Each host server can
Asked in: Amazon
People Bought: 0
Price (in Rs): 201.00