IBM Online Assessment (OA) Coding Questions & Solutions | HackerRank Aug2025
IBM · Question · Posted Mar 2026
Question 1: Find Maximum Bandwidths Problem Statement: A service provider manages n API endpoints, each serving different functionalities, numbered from 1 to n. Given m bandwidth units, allocate these among the endpoints. The objective is to maximize the bandwidth allocated to the k-th endpoint while meeting the following conditions: All bandwidth units must be allocated. Each endpoint must have at least 1 unit of bandwidth allocated. The absolute difference in bandwidth between any two adjacent endpoints cannot exceed 1. Return ...
The full answer & interview discussion are available to premium members.
Log in Create a free account