Simulating the Dining Philosophers Problem and Solving Deadlocks | CodeSignal Learn