In algorithm design, how is a greedy approach applied to the activity selection problem? - Study24x7
Social learning Network
2 followers study24x7 06 Sep 2024 10:58 AM study24x7 study24x7

In algorithm design, how is a greedy approach applied to the activity selection problem?

A

By selecting activities randomly until no more can be chosen

B

By choosing the shortest activities first

C

By selecting the activities that start the earliest, without overlapping

D

By choosing the activities that leave the most free time after completion

study24x7
Write a comment
Most Related Articles