The main objective of this project is to take a word as an input and give count of permutation of dictionary defined words that can be formed by using alphabets in the given word
- Keep a file with all the words
- a logic to find out all the permuation of word that can be formed by using all the alphabets in a give word
- after getting the permutation , match with dictonary words and if hit return them as a list
- print the list as the final output
- Can permutate a string with less than 10 characters
- Can check if the given word is a dictionary word or not
- Dictionary word support is only given for alphabets
curl -X POST \
https://word-calculator-3tuc.onrender.com/permute \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-d '{
"wordToPermutate":"hello"
}'
curl -X POST \
https://word-calculator-3tuc.onrender.com/isDictionaryWord \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-d '{
"word":"hello"
}'