Skip to content

Instantly share code, notes, and snippets.

@Quadriphobs1
Created March 8, 2020 20:06
Show Gist options
  • Select an option

  • Save Quadriphobs1/f2fda5678ec009a75d34162e74764e76 to your computer and use it in GitHub Desktop.

Select an option

Save Quadriphobs1/f2fda5678ec009a75d34162e74764e76 to your computer and use it in GitHub Desktop.
A list of all arrangement of 3x3 matix
data = [
[8, 3, 4, 1, 5, 9, 6, 7, 2],
[4, 3, 8, 9, 5, 1, 2, 7, 6],
[8, 1, 6, 3, 5, 7, 4, 9, 2],
[6, 1, 8, 7, 5, 3, 2, 9, 4],
[2, 9, 4, 7, 5, 3, 6, 1, 8],
[4, 9, 2, 3, 5, 7, 8, 1 ,6],
[2, 7, 6, 9, 5, 1, 4, 3, 8],
[6, 7, 2, 1, 5, 9, 8, 3, 4],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment