Deadline May 31, 2005

I am not a good typist. When I was creating this POTM I typed in KYESTROKS when I meant to type KEYSTROKES.


To correct the error, I could delete all the letters and type in the correct spelling. Or I could move to the second position and delete the "YE" and then add "EY" and then move to the next-to-last position and then add the "E". But surely YOU can write a program figure out the most efficient way to perform this sort of operation.

You will be given two blocks of text, a "starting" block and a "target" block. Your program, using special POTM "editor-like" operations defined in the problem statement details, will be asked to provide a sequence of editing operations and typed letters that will transform the initial block to the target block. Short sequences are good! I'm hoping the problem turns out to be more difficult than it sounds! Check here for all the details!

If it seems interesting, sign up using the Members Section link on the left and start watching the forums for more details, current standings, how to submit your entry, and much discussion among the jolly band of POTM participants!

The POTM is unsponsored and just for fun.      
Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /homepages/9/d106089208/htdocs/dinsights/POTM/ASSETS/footer.php on line 15
Friday 12:33:59 AM      Copyright © 2004-6 - Fred Hicinbothem