We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Oh joy, I solved the wrong problem! Should have read the output requirement and the sample example more clearly.
I solved the problem to: "Minimize the maximum amount of overshoot, when all tasks are scheduled." i.e. if 5 tasks were scheduled with overshoots O1 O2 O3 O4 O5, schedule them such that the max(O1, O2, O3, O4, O5) is minimized. Sad face.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Task Scheduling
You are viewing a single comment's thread. Return to all comments →
Oh joy, I solved the wrong problem! Should have read the output requirement and the sample example more clearly.
I solved the problem to: "Minimize the maximum amount of overshoot, when all tasks are scheduled." i.e. if 5 tasks were scheduled with overshoots O1 O2 O3 O4 O5, schedule them such that the max(O1, O2, O3, O4, O5) is minimized. Sad face.