package leetcode;

/**
 * https://leetcode.com/problems/beautiful-array/
 */
public class Problem932 {
    public int[] beautifulArray(int N) {
        // TODO
        return null;
    }

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

@@ -270,16 +270,199 @@
 m932();%0A
+        System.out.println(prob.beautifulArray(1)); // %5B1%5D%0A        System.out.println(prob.beautifulArray(2)); // %5B1,2%5D%0A        System.out.println(prob.beautifulArray(3)); // %5B1,3,2%5D%0A
         
@@ -585,16 +585,85 @@
 ,2,5,4%5D%0A
+        System.out.println(prob.beautifulArray(6)); // %5B1,5,3,2,6,4%5D%0A
     %7D%0A%7D%0A

Update problem 932