package leetcode;

public class Problem1226 {
}

@@ -16,33 +16,619 @@
 e;%0A%0A
-public class Problem1226 %7B
+/**%0A * https://leetcode.com/problems/the-dining-philosophers/%0A */%0Apublic class Problem1226 %7B%0A    private static class DiningPhilosophers %7B%0A        public DiningPhilosophers() %7B%0A        %7D%0A%0A        // call the run() method of any runnable to execute its code%0A        public void wantsToEat(int philosopher,%0A                               Runnable pickLeftFork,%0A                               Runnable pickRightFork,%0A                               Runnable eat,%0A                               Runnable putLeftFork,%0A                               Runnable putRightFork) throws InterruptedException %7B%0A%0A        %7D%0A    %7D
 %0A%7D%0A

Update problem 1226