All tags
Posts tagged with "LinkedIn"
'[LeetCode] Shortest Word Distance III'
**Question:** Given a list of words and two words *word1* and *word2*, return the shortest distance between these two words in the list.
'[LeetCode] Word Shortest Distance II'
**Question:** Design a class which receives a list of words in the constructor, and implements a method that takes two words *word1* and *word2* and return the shortest distance between these two word
'[LeetCode] Shortest Word Distance'
**Question:** Given a list of words and two words word1 and word2, return the shortest distance between these two words in the list.