The input is the p programmes for each i the number ai


College Students go out for a party. To increase social contact, they would love to sit at tables so that no two students from the same programme are at the same table. Show how to find such a seating arrangement or prove that no such seating plan is possible.

The input is the p programmes, for each i the number ai indicates the students from programme i, and the seating capacities of the q tables with table j seating bj people. Give the time complexity of your algorithm with a brief justification.

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: The input is the p programmes for each i the number ai
Reference No:- TGS01253052

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)