MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / activity_selection.py

File activity_selection.py

other/activity_selection.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""The following implementation assumes that the activities
2are already sorted according to their finish time"""
3
4"""Prints a maximum set of activities that can be done by a

Callers

nothing calls this directly

Calls 1

print_max_activitiesFunction · 0.85

Tested by

no test coverage detected