- There are 80 seats in a coach of a train with only 7 seats in a row and last row of only 3 seats. For simplicity, there is only one coach in this train.
- One person can reserve up to 7 seats at a time.
- If person is reserving seats, the priority will be to book them in one row.
- If seats are not available in one row, then the booking should be done in such a way that the nearby seats are booked.
- User can book as many tickets as s/he wants until the coach is full.
-
Notifications
You must be signed in to change notification settings - Fork 0
manikpokhetra79/mern-ticket-reservation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published