Design train booking like IRCTC: find trains between stations, assign seats, and resell a seat for the part of the route after a passenger gets off.
Design train booking like IRCTC: find trains between stations, assign seats, and resell a seat for the part of the route after a passenger gets off.
Opens with the full question.