Shortest Word Distance II SolutionThis is a solution to the Shortest Word Distance II problem on LeetCode.