What to do when one train leaves just as another arrives? (Module 9 - approach)

Apologies for the wrong tag again.

For module 9 - platform allocation, can we allocate the same platform for 2 trains if one leaves just as another arrives? For example in the following test case

abc 12001 10:00:00.000 10:10:00.000 00:05:00.000
xyz 12002 10:15:00.000 10:30:00.000 00:01:00.000

Should the answer be 1 or 2?

Yes, we can allocate the same platform to two trains, If other comes just after first departs. Answer will be 1.

1 Like

Closing this topic as your issue has been resolved by the community. If not Kindly un-mark the accepted solution to re-open the topic or feel free to create a new topic and post a link to this topic as a reference.