What is the algorithm used to reserve ticket in Indian Railways?
What is algorithm for Indian railway reservation?