1
So your task is to take a 3x3 block where -'s mean blank spaces, and *'s mean filled spaces, for example:
-**
-*-
*-*
and rearrange the block so that the *'s form an X, like this:
*-*
-*-
*-*
Input:
3x3 squares like above, they can be 3 lines, an array, or however you want.
Output: The sho...