Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 417 Bytes

README.md

File metadata and controls

20 lines (18 loc) · 417 Bytes

WordLink

Attempts to link two words by changing one char at a time on each word to obtain another word.

Usage

WordLink wl = new WordLink(@"wordlist.txt", true);
List<string> result = wl.Find("beer", "wine");
if (result != null)
	Console.WriteLine(string.Join(",", result));
else
	Console.WriteLine("Could not find link between words.");

Output

beer, deer, dee, die, dine, wine