Domanda di colloquio di FactSet

Write the algorithm for dining Philosopher's problem.