Skip to content

Activity selection

planning ahead

Level 1 of 3

Also called Interval scheduling and Earliest finish time first.

Fits the most activities into one room, no two at once. Choosing the shortest, or the one that starts first, can lose; choosing the one that ends first always leaves the most time for the rest, so the activities are taken in order of when they end.

each activity's hours: a column is the hour starting at its number

comparisons to line them up
0
activities checked
0

step 1 of 1

Examples

2 to 5 activities, each a start hour and an end hour from 0 to 9 with a hyphen between, separated by commas, for example 1-3, 2-5, 4-7.