hello to all - I'm having trouble getting this to work.
I need to find all arrangements of the eight numbers 0, 0, 0, 0, 1, 2, 3, 4.
There are 3 constraints - Reading left to right...
a) 1 appears before 2
b) 1 appears before 3
c) 3 appears before 4
These are valid arrangements...
Thanks in advance for any hints
I need to find all arrangements of the eight numbers 0, 0, 0, 0, 1, 2, 3, 4.
There are 3 constraints - Reading left to right...
a) 1 appears before 2
b) 1 appears before 3
c) 3 appears before 4
These are valid arrangements...
Code:
ID v1 v2 v3 v4 v5 v6 v7 v8
100 0 0 1 0 3 0 2 4
101 0 1 2 0 0 3 4 0
102 1 3 4 0 0 2 0 0
Thanks in advance for any hints