Coforge Online Assessment 2025 | Logistics Fleet Shipment Continuity & Cloud Database String Compaction

Question · Posted Jun 2026

Problem 1 - Logistics Fleet Shipment Continuity Problem Statement You are building an automated route tracking engine for an international cargo transportation network. You are given an integer array shipmentWeights and an integer batchMultiplier. Determine whether the array contains a contiguous subarray of length at least 2 whose sum is an exact multiple of batchMultiplier. In other words, find whether there exists a continuous segment such that: subarraySum = n × batchMultiplier where n is any integer. Return true if ...

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

Log in Create a free account