// Given a 2d array, output the reverse the order of each column.

// Input:
// Array
// [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]]

// Output:
// 4 3 2 1 8 7 6 5 12 11 10 9

@@ -170,8 +170,500 @@
 11 10 9%0A
+%0A%0Afunction performOps(arr)%7B%0A    var m = arr.length,%0A        n = arr%5B0%5D.length,%0A        result = %5B%5D%0A    for(i = 0; i %3C m;i++)%7B%0A        result.push( new Array(n) );%0A        for(j=0;j%3C n;j++)%7B%0A            result%5Bi%5D%5Bn-1-j%5D = arr%5Bi%5D%5Bj%5D%0A        %7D%0A    %7D%0A    return result%0A%7D%0Avar example = %5B%5B1, 2, 3, 4%5D, %5B5, 6, 7, 8%5D, %5B9, 10, 11, 12%5D%5D;%0A%0Avar result = performOps(example)%0A%0Afor (i = 0; i %3C result.length; i++) %7B%0A    for (j = 0; j %3C result%5Bi%5D.length; j++)%7B%0A        console.log(result%5Bi%5D%5Bj%5D+%22 %22);%0A    %7D%0A%7D%0A

add solution