0

Given an array of numbers as input, find all permutations that do not have the same number next to each other, then print them all out. If no permutations were found, print "Nothing". Note that the original array can be a permutation.
Test cases:
[0, 1, 1, 0] -> [1, 0, 1, 0], [0, 1, 0, 1]
[0, 1, ...