📖
JavaBlog
  • Interface Introduction
  • Array Introduction
  • Greedy Algorithm
  • Bisect
  • Dynamic Programming
  • Divide and Conquer
Powered by GitBook
On this page
  • ‣ Interval Scheduling
  • ‣ Interval Partitioning
  • ‣ Scheduling to minimize lateness
  • ‣Overview

Was this helpful?

Greedy Algorithm

Digest from Algorithm Design

‣ Interval Scheduling

Given many small intervals and a bigger interval. To fit the most smaller intervals possible into the bigger intervals.

‣ Interval Partitioning

Given many small intervals and some classrooms. To fit all smaller intervals into the classrooms without conflicts such that the number of classrooms should be the minimum possible.

‣ Scheduling to minimize lateness

Given many small intervals and some classrooms. To fit all smaller intervals into the classrooms without conflicts such that the number of classrooms should be the minimum possible.

‣Overview

PreviousArray IntroductionNextBisect

Last updated 3 years ago

Was this helpful?

Consider jobs in ascending order of slackness by dj−tjd_j - t_jdj​−tj​.

Inversions
ref: https://ocw.tudelft.nl/wp-content/uploads/Algoritmiek_Greedy_Analysis_Strategies.pdf