Train seating assignment
Suppose you're riding on a train with the following configuration:
- The first 2 train cars contain 2 seats per row, one on each side of the aisle (first class)
- The next 4 train cars contain 4 seats per row, 3 on each side of the aisle (business class)
- The last 10 train cars contain 6 seats per row, 3 on each side of the aisle (economy class)
- Each train car contains 5 rows, for a total of 80 (16*5) rows in the entire train
The tickets on the train are given in the format row number - seat letter (where the seat letter runs from A-F (for the potential 6 seats per row as configured in economy). For example, the far left seat in the first row of the first car would be 1-A, while the far right seat in the last row of the last car would be 80-F.
You're told you have a window seat but are not given the specific row or seat letter. Given this information, calculate the probability distribution of your potential ticket seat letters.
Subscribe to premium account to see the solution.Get premium now