In this program we have a file called kelime.txt and we are trying to make operations using it. The operations that we are make is listed below.
-
Make an adjacency matrix from words in file.
-
Look for adjacency between two words.
-
For a given two words if there is transformation between them show it step by step. In every step, only one charachter can change.
This is transformation between them :
phone ->shone ->shine ->chine ->chink ->chick ->check ->cheek ->creek ->creed ->greed ->green
In every step only one character changed.