76 Commits

Author SHA1 Message Date
dee08b5d6c update .gitignore 2026-03-28 07:44:05 -07:00
af686d214c Merge pull request #4 from charlesreid1/chaz-update-output
Add outputs and output-generating script
2026-03-25 22:54:55 -07:00
ce65e88488 add outputs and output generating script 2026-03-25 22:54:27 -07:00
e9c495a31b Merge pull request #3 from charlesreid1/chaz-update
Update scripts with bug fixes and efficiency improvements
2026-03-25 22:49:03 -07:00
0b3386736f add reqirements.txt 2026-03-25 22:47:16 -07:00
3d693d509d fix return values and error messages 2026-03-25 22:45:46 -07:00
9c6edf0cb1 use a nice one liner, use Collections, improve efficiency 2026-03-25 22:35:38 -07:00
302cac59a3 update reverse_lexico.py to match lexico.py 2026-03-25 22:31:47 -07:00
e27191392c fix word check/string check to use index instead 2026-03-25 22:22:41 -07:00
1014bb958e simplify palindrome checks 2026-03-25 22:18:23 -07:00
60962f1e09 improve efficiency of lexico.py 2026-03-25 22:12:45 -07:00
8a9488731f fixup 2026-03-25 22:12:25 -07:00
046051b4f2 udpate letter_coverage.py to fix bug 2026-03-25 22:12:16 -07:00
e7782517df fix critical bug in index comparison (probably changes answers...) 2026-03-25 22:05:23 -07:00
c028b1d069 fix set choice bug 2026-03-25 21:53:38 -07:00
6894d8ed37 fix title 2024-08-26 10:50:12 -07:00
0ed76ea02b run trie table 2024-08-26 10:43:07 -07:00
9a23a47211 remove diff_by_one.py 2024-08-26 10:42:54 -07:00
279066d064 fix up diff_by_n 2024-08-26 10:42:41 -07:00
c8960d6015 reverse, actually 2024-08-26 10:33:19 -07:00
b45fda3052 Merge pull request #1 from charlesreid1/try-trie-tree
Try trie tree
2019-03-11 21:27:51 -07:00
008e1daec5 switch function 2019-03-11 21:13:54 -07:00
6a08f95ebc add method to compute number of words versus number of perfect tries table 2019-03-11 21:13:00 -07:00
f01bab717e fixed tries.py 2019-03-11 17:01:58 -07:00
05a8830cec update readme and descriptions 2019-03-11 15:46:34 -07:00
0ea5f3753f update tries with working print method, and some other fixed-up recursive calls 2019-03-11 15:34:45 -07:00
826df3a942 print more info 2019-03-10 23:44:42 -07:00
2305797fd2 Merge branch 'master' of github.com:charlesreid1/five-letter-words
* 'master' of github.com:charlesreid1/five-letter-words:
  clarify palindrome checks
2019-03-10 11:31:15 -07:00
56a4d4dc6d update diff_by_ scripts and descriptions in readme 2019-03-10 11:30:41 -07:00
ca0b27cc91 removing the broken diff by one 2019-03-10 00:19:13 -08:00
1b31bc40a2 fixing diff by one 2019-03-10 00:18:44 -08:00
907676dd82 clarify palindrome checks 2017-12-07 22:03:24 -08:00
6f3da0a366 updating final print statement in both letter coverages 2017-09-20 11:58:58 -07:00
37374194f0 renaming letter coverages so default is no output, debug is with output 2017-09-20 11:57:54 -07:00
51c7e429ae reconciling letter coverage 2017-09-19 17:32:18 -07:00
b9616eeb28 Merge branch 'master' of https://charlesreid1.com:3000/cs/five-letter-words
* 'master' of https://charlesreid1.com:3000/cs/five-letter-words:
  Add near palindrome output, and fix palindrome pairs to exclude palindromes
  adding a near-palindrome checker.
  update comment in palindrome.py
  update readme with new scripts.
  Make distinct.py more efficient: one loop over words.
  Don't need pretty print.
  Update distinct script to print out some examples.
  fix comments.
  updating lexico and reverse lexico script to print ALL lexico and reverse lexico words
  updating comment block
  updating diff-by-one script comment
  updating diff by n to print, for n equals 2 through 2
  adding output from lexico and reverse lexico
  make diff by one code match what is in github blog post.
  reverse order of printed distances
  adding a diff-by-n variation on the diff-by-one program
2017-09-19 17:30:43 -07:00
b7a142e7f7 removing tiny kitten that squeaks when you get to a certain point in the code 2017-09-19 17:22:03 -07:00
9cda786cf8 fixing letter coverage to fix a snafu. 2017-09-19 17:19:37 -07:00
d2ad99bfb6 Add near palindrome output, and fix palindrome pairs to exclude palindromes 2017-09-04 17:55:46 -07:00
4bca143ae8 adding a near-palindrome checker. 2017-09-04 17:33:59 -07:00
cff7a9e1a6 update comment in palindrome.py 2017-09-04 17:30:15 -07:00
ef62283c91 update readme with new scripts. 2017-09-04 16:41:57 -07:00
4dd57760fa Make distinct.py more efficient: one loop over words. 2017-09-04 16:29:11 -07:00
d07e0621f7 Don't need pretty print. 2017-09-04 16:26:26 -07:00
7db3fb9890 Update distinct script to print out some examples. 2017-09-04 16:25:54 -07:00
5ea6a87e46 fix comments. 2017-09-04 04:00:06 -07:00
41342dd02b updating lexico and reverse lexico script to print ALL lexico and reverse lexico words 2017-09-04 03:41:04 -07:00
7cb10c1f2c updating comment block 2017-09-04 03:40:00 -07:00
563a8799b0 updating diff-by-one script comment 2017-09-04 03:39:08 -07:00
3963e6a40a updating diff by n to print, for n equals 2 through 2 2017-09-04 03:37:12 -07:00