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();
    }
}

@@ -270,16 +270,148 @@
 m932();%0A
+        System.out.println(prob.beautifulArray(4)); // %5B2,1,4,3%5D%0A        System.out.println(prob.beautifulArray(5)); // %5B3,1,2,5,4%5D%0A
     %7D%0A%7D%0A

Update problem 932