De Bruijn sequences: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: simplified the program, changed some comments.) |
m (→{{header|REXX}}: added highlighting to the REXX section header.) |
||
Line 83:
Programming note: instead of hardcoding the ''lastNode'' (that is elided from the sequence), the 5<sup>th</sup> to the last node could simply
<br>''not'' be added to the sequence.
<lang rexx>/*REXX pgm calculates the de Bruijn sequence for all pin numbers (4 digit decimals). */
$= /*initialize the de Bruijn sequence. */
|