0

Is this Rubik's Cube Solvable?
The challenge: find out if a rubik's cube configuration is solvable.
Takes input as a multidimensional array. An example for a solved cube would be
[
[
[0,0,0],
[0,0,0],
[0,0,0]
],
[
[1,1,1],
[1,1,1],
[1,1,1]
],
[
[2,2,2],
[2,2,2],
[2,2,2]
...