24 Aug 2023 by Member 16078047
const seatingChart = [ ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'], ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'], ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'], ]; function allocateSeats(numPeople) { //X denotes booked seat if (numPeople...