The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 313 Weeks Ago, 6 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
C++
Â
Word ladder program
Â
Find a Huge word list online. Copy the file and Delete all but 3, 4 and 5 letter words from the list.
Locate all 3, 4 and 5 letter words that have actual Words when you reverse the spelling for the first word, and mark them as such.
Â
Pick a 3, 4 or 5 letter REVERSE word.
Game:
Use this method to transition, word to word, first from the Beginning word to the matching reverse of that word.
Â
Method:
1) Replace one letter in the beginning word, that will result in another word found in the dictionary.
2) Repeat until you reach the beginning words matching reverse word.
Is it possible to construct a word ladder that for that word ?
If so, then print the word sequence that transactions from the beginning word to the matching Reverse word.
Â
To do:
Check each word pair( Word and Reversed-Word) Â to see if there is a word ladder for it.
If so, print it out.
Â
Extra Credit:Â Are there multiple possible ladders for a word ?
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly