package leetcode;

/**
 * https://leetcode.com/problems/mirror-reflection/
 */
public class Problem858 {
    public int mirrorReflection(int p, int q) {
        // TODO
        return 0;
    }

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

@@ -338,16 +338,202 @@
 ); // 2%0A
+        System.out.println(prob.mirrorReflection(2, 0)); // 0%0A        System.out.println(prob.mirrorReflection(3, 1)); // 1%0A        System.out.println(prob.mirrorReflection(4, 1)); // 2%0A
     %7D%0A%7D%0A

Update problem 858