Editorial for JDCC '16 Contest 2 P2 - Broken Telephone
Submitting an official solution before solving the problem yourself is a bannable offence.
Determine if the length of the string has been changed or if more than two letters have been changed. To determine how many letters have been changed, iterate with a for loop. Remember to read all the words for every test case.
Time Complexity: per test case, where is the length of the string.