ref: a2ad05f4e6b5d70ebf5c6b5db8a87172e7d44b5f
parent: 4a46cbe2def6b467b3cd46653bf2b4c2f6517ad3
author: eli <eli@singularity>
date: Mon Mar 17 10:43:37 EDT 2025
a couple more common words
--- a/anagrams.c
+++ b/anagrams.c
@@ -95,7 +95,7 @@
{
dlist *cur = dict;
int i;
- char *commonwords[] = {"a", "I", "an", "at", "be", "by", "do", "he", "in", "is", "it", "my", "no", "oh", "or", "to", "us", "we", "and", "but", "for", "her", "him", "his", "its", "not", "too", "you", nil};
+ char *commonwords[] = {"a", "I", "an", "at", "be", "by", "do", "he", "if", "in", "is", "it", "my", "no", "of", "oh", "or", "to", "us", "we", "and", "but", "for", "her", "him", "his", "its", "not", "too", "you", nil};
for(i = 0; commonwords[i] != nil; i++){
if (contains(input, commonwords[i])) {
--
⑨