LeetCode

Shortest Word Distance

Click here for an explanation.