N-queens problem: Difference between revisions
m
J: add comment
(→{{header|Curry}}: Three diffrant approaches) |
m (J: add comment) |
||
Line 998:
mask =: [ */@:~:&(|@-/) {
queenst=: comb2 (] #"1~ mask)&.|: perm</lang>
Note that the Roger Hui's approach (used here) matches the description attributed to Raymond Hettinger (in the Python implementation).
=={{header|Java}}==
|