Infosys, Recently Asked Online Assessments in 2026 | Hard: Listing Products

Infosys · Question · Posted Apr 2026

  Question 1: Hard : Listing Products Problem Statement: You are given two groups of products: The first group contains N products, lined up from left to right such that the ith product makes Ai dollars of profit. The second group contains M products such that the ith product makes Bi dollars of profit. You are allowed to insert any of the M products from the second group anywhere into the first list of N products. The resulting list will ...

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

Log in Create a free account