Activity Selection In the Activity Selection problem, we wish to select a maximum-size subset of mutually compatible act

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Activity Selection In the Activity Selection problem, we wish to select a maximum-size subset of mutually compatible act

Post by answerhappygod »

Activity Selection
In the Activity Selection problem, we wish to select a maximum-size
subset of mutually compatible activities
We know that ordering by the finish times produces an optimal
solution.
1. Show an input for which ordering by the starting times does not
produce an optimal solution.
2. Show an input for which ordering by length (shortest to longest)
does not produce an optimal solution.
3. The degree of an activity is the number of activities whose time
intervals intersect with it. Show an input for which ordering
by degree (smallest to largest) does not produce an optimal
solution.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply