package leetcode;

/**
 * https://leetcode.com/problems/bulb-switcher-ii/
 */
public class Problem672 {
    public int flipLights(int n, int m) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem672 prob = new Problem672();
        System.out.println(prob.flipLights(1, 1)); // 2
        System.out.println(prob.flipLights(2, 1)); // 3
        System.out.println(prob.flipLights(3, 1)); // 4
    }
}

@@ -269,16 +269,72 @@
 m672();%0A
+        System.out.println(prob.flipLights(1, 0)); // 1%0A
         
@@ -493,16 +493,355 @@
 ); // 4%0A
+        System.out.println(prob.flipLights(3, 2)); // 7%0A        System.out.println(prob.flipLights(3, 3)); // 8%0A        System.out.println(prob.flipLights(3, 4)); // 8%0A        System.out.println(prob.flipLights(15, 1)); // 4%0A        System.out.println(prob.flipLights(15, 2)); // 7%0A        System.out.println(prob.flipLights(15, 3)); // 8%0A
     %7D%0A%7D%0A

Update problem 672