</>OfferRetriever
DashboardDiscuss
NEW

Halloween Sale

Unlock all premium questions for over 30% off

$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Amazon Questions

Maximize Tasks Scheduled Within Time Limit

Medium

Question

There are n machines, and their IDs run from 0 to n-1 with no repeats. A machine can run as many as m tasks in parallel. You are also given an integer array tasks, where tasks[i] is the number of minutes task i needs to finish. Tasks are packed into the next 60 minutes by running the fixed scheduling procedure below, and your function returns the schedule that this procedure builds. ...

Asked at:Amazon

More Amazon interview questions

All Amazon interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.