Question d’entretien chez FactSet

Write the algorithm for dining Philosopher's problem.