package leetcode;

/**
 * https://leetcode.com/problems/valid-tic-tac-toe-state/
 */
public class Problem794 {
    public boolean validTicTacToe(String[] board) {
        // TODO
        return false;
    }

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

@@ -290,16 +290,387 @@
 m794();%0A
+        System.out.println(prob.validTicTacToe(new String%5B%5D%7B%22O  %22, %22   %22, %22   %22%7D)); // false%0A        System.out.println(prob.validTicTacToe(new String%5B%5D%7B%22XOX%22, %22 X %22, %22   %22%7D)); // false%0A        System.out.println(prob.validTicTacToe(new String%5B%5D%7B%22XXX%22, %22   %22, %22OOO%22%7D)); // false%0A        System.out.println(prob.validTicTacToe(new String%5B%5D%7B%22XOX%22, %22O O%22, %22XOX%22%7D)); // true%0A
     %7D%0A%7D%0A

Update problem 794