This commit is contained in:
2024-06-24 15:08:37 +10:00
commit b33082fce4
3 changed files with 150 additions and 0 deletions

30
question.md Normal file
View File

@@ -0,0 +1,30 @@
Question
===
Assume we have a dictionary and a word, create a program / a function to find all words in the dictionary that have the same anagram as the input word.
Example
dictionary.txt
```
abcd
abde
abba
abab
hijkl
rstuvw
bbaa
opqrst
```
input word: `aabb`
output:
```
abba
abab
bbaa
```
# Exercise
Use the dictionary in this repository, and choose random words from it to test your program / function.