package leetcode;

/**
 * https://leetcode.com/problems/walking-robot-simulation/
 */
public class Problem874 {
    public int robotSim(int[] commands, int[][] obstacles) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem874 prob = new Problem874();
    }
}

@@ -296,16 +296,221 @@
 m874();%0A
+        System.out.println(prob.robotSim(new int%5B%5D%7B4, -1, 3%7D, new int%5B%5D%5B%5D%7B%7D)); // 25%0A        System.out.println(prob.robotSim(new int%5B%5D%7B4, -1, 4, -2, 4%7D, new int%5B%5D%5B%5D%7B%0A            %7B2, 4%7D%0A        %7D)); // 65%0A
     %7D%0A%7D%0A

Update problem 874