LTI Mindtree GET OA 2025 | Logistics Multi-Channel Inventory Control

Question · Posted Jun 2026

Problem - Logistics Multi-Channel Inventory Control Problem Statement You are given an integer array itemCounts of size N. Return an array productMatrix such that each element at index i is equal to the product of every element in the array except itemCounts[i]. You are not allowed to use the division operator, and your solution must run in O(N) time using O(1) extra space (excluding the output array). Constraints Constraint 2 ≤ N ≤ 5 × 104 -30 ≤ itemCounts[i] ≤ ...

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

Log in Create a free account