Software suppliers are trying to make their software packages more ‘user-friendly’… Their best approach so far has been to take all the old brochures and stamp the words ‘user-friendly’ on the cover. Bill Gates
Word ladder puzzle begins with two words and to solve the puzzle one must find a chain of other words to link the two, in which two adjacent words differ by one letter.
Write a program to implement Word Ladder using set?
Find the ladder 'fool' and 'sage' fool -> pool -> poll -> pall -> pale -> sale -> sage -> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Find the ladder 'cold' and 'warm' cold -> cord -> card -> ward -> warm ->