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 Searchhard70 minSoftware Engineer

Catalog Minimum Feasible Throughput

Software Engineer signal: binary search on answer + monotonic predicate in a commerce catalog context. This is a ProdMatch-owned software engineer drill, framed as a April 2026 PhonePe Marketplace simulation, not a copied platform question.

Company context

PhonePe · Marketplace

Freshness

April 2026

Product surface

commerce catalog

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

Question

For commerce catalog, choose the minimum processing rate so all products 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