Let’s take a certain word, change one letter in it and rearrange the letters
to get another valid word .
Denote this operation by
→.
Examples: sport
→ trips
→ shirt
or bread
→ dares
→ cards.
Find solutions fitting the following pattern:
Country I → Capital I → Country II
Capital II → Country III → Capital III
All the cities and countries above are 5-letter words.
(In reply to
computer assisted solution by Charlie)
I was shown another example for
Capital II' → Country III' → Capital III' ,
where each name is a 6-letter word.
I am sure that your program will need a very minor modification
to find my triplet, and maybe others as well.