Zomato SDE-1 OA | Maximum Profit Food Combos & EV Delivery Bike Routing

Zomato · Question · Posted Jun 2026

Problem 1 - Maximum Profit Food Combos Problem Statement Zomato is launching a new meal-combo feature. You are given an array prices of size N, representing the prices of food items listed in a row. You are also given two integers: X - Maximum allowed total budget Y - Maximum allowed price volatility You need to select a contiguous subarray of food items such that: The total sum of prices in the subarray does not exceed X. The difference between ...

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

Log in Create a free account