Tab
Object:
Find shortest ladder of words (a vector) connecting two words.
Breadth-first
Go through all one different solutions, then two different solutions, then three ...
Make a huge queue

Queue contains vectors of the word ladders.

changeLadder(string word)

Simply finds all words that are one letter different from the word

   Login to remove ads X
Feedback | How-To