0244: Shortest Word Distance II

Problem Statement