Browse Source

fix comments.

master
Charles Reid 2 years ago
parent
commit
5ea6a87e46
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lexico.py
  2. +1
    -1
      reverse_lexico.py

+ 1
- 1
lexico.py View File

@@ -2,7 +2,7 @@
lexico.py

Donald Knuth, Art of Computer Programming, Volume 4 Facsimile 0
Variation on Exercise #30
Exercise #30

Each letter of the word "first" appears in correct lexicographic order.
Find the first and last such words in the SGB words.


+ 1
- 1
reverse_lexico.py View File

@@ -2,7 +2,7 @@
reverse_lexico.py

Donald Knuth, Art of Computer Programming, Volume 4 Facsimile 0
Exercise #30
Variation on Exercise #30

Each letter of the word "spied" appears in reversed lexicographic order.
Find more words whose letters appear in reverse lexicographic order.


Loading…
Cancel
Save