package leetcode;

/**
 * https://leetcode.com/problems/push-dominoes/
 */
public class Problem838 {
    public String pushDominoes(String dominoes) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem838 prob = new Problem838();
        System.out.println(prob.pushDominoes(".L.R...LR..L..")); // LL.RR.LLRRLL..
        System.out.println(prob.pushDominoes("RR.L")); // RR.L
        System.out.println(prob.pushDominoes("R..L")); // RRLL
        System.out.println(prob.pushDominoes("R.LL")); // R.LL
    }
}

@@ -549,16 +549,199 @@
 // R.LL%0A
+        System.out.println(prob.pushDominoes(%22...%22)); // ...%0A        System.out.println(prob.pushDominoes(%22L..%22)); // LLL%0A        System.out.println(prob.pushDominoes(%22..R%22)); // RRR%0A
     %7D%0A%7D%0A

Update problem 838