Leetcode 244. Shortest Word Distance II | Hello Interview