Train seating assignment

Hard

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)...

Sign in to InterviewQs to view this question

Or

New to InterviewQs? Sign up now.

By proceeding, you agree to our Terms and Conditions and Privacy Policy.

Loading editor...