0245: Shortest Word Distance III

Problem Statement