Greedy

Activity Selection

Chooses the next activity that finishes earliest among the compatible options.

State view

Activity Selection

step 1
Variables
No scalar variables on this step.
Collections
No collection patches on this step.
speed
1.00x
timeline1 / 9

Variables

0 tracked

Variables appear as the algorithm updates them.

Call stack

0 frames

Recursive algorithms push frames here.

Event log

0 entries

Narrated algorithm events appear here.