ProdMatch
CompaniesCitiesRolesSign in

Companies

  • Google
  • Microsoft
  • Meta
  • Amazon
  • Apple
  • Atlassian
  • Nvidia
  • Oracle
  • See all 51 →

Cities

  • Bengaluru jobs
  • Hyderabad jobs
  • Pune jobs
  • Gurugram jobs
  • Noida jobs
  • Delhi NCR jobs
  • Mumbai jobs
  • Chennai jobs
  • Remote-India jobs

Roles

  • QA / SDET Engineers
  • Backend Engineers
  • Frontend Engineers
  • Full-stack Engineers
  • Data Analysts
  • Data Engineers
  • ML / AI Engineers
  • DevOps / SRE Engineers
  • All roles →

ProdMatch

  • About
  • Career guides
  • Compare
  • Salaries
  • Skills
  • DSA practice
  • Privacy
  • Terms
  • Sign in

© 2026 ProdMatch.ai · Built for India · DPDP Act 2023 compliant · Job data sourced from official company career pages.

Back to DSA
Binary Searchmedium45 minSoftware Engineer

Maps Minimum Feasible Throughput

Software Engineer signal: binary search on answer + monotonic predicate in a location graph context. This is a ProdMatch-owned software engineer drill, framed as a April 2026 CleverTap Maps Infra simulation, not a copied platform question.

Company context

CleverTap · Maps Infra

Freshness

April 2026

Product surface

location graph

ProdMatch interview simulation based on product-team patterns; not a claim of a real company question.

Question

For location graph, choose the minimum processing rate so all nodes finish before deadline. Each worker can process rate units per minute, rounded up per item.

Input

  • Work item sizes and deadline minutes.

Output

  • Minimum integer rate.

Constraints

  • 1 <= items.length <= 200000
  • 1 <= item size <= 1e9
  • Deadline is at least items.length.

Concepts

  • invariants
  • API correctness
  • graph modelling
  • binary search on answer
  • monotonic predicate

sizes [3,6,7,11], deadline=8 -> 4

Approach

Try framing your own approach first. The 30 seconds you think before peeking is where learning happens.

Clean Solution

Reveal the approach first.

How well did you understand?

Your rating tunes when this problem shows up again.

Common Mistakes

  • Use low + (high - low) // 2 to avoid overflow.
  • The predicate must be monotonic or binary search is invalid.

Next Similar Problems

Workflow Minimum Feasible ThroughputmediumSearch Minimum Feasible ThroughputmediumCheckout Minimum Feasible Throughputmedium