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 minFull Stack Developer

Billing Minimum Feasible Throughput

Full Stack Developer signal: binary search on answer + monotonic predicate in a subscription billing context. This is a ProdMatch-owned full stack engineer drill, framed as a April 2026 Groww Revenue Platform simulation, not a copied platform question.

Company context

Groww · Revenue Platform

Freshness

April 2026

Product surface

subscription billing

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

Question

For subscription billing, choose the minimum processing rate so all invoices 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

  • workflow graphs
  • API pagination
  • cache invalidation
  • 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

Onboarding Minimum Feasible ThroughputmediumCRM Minimum Feasible ThroughputmediumAdmin Minimum Feasible Throughputhard