Ezvor

734. Sentence Similarity

EasyArray Preparing judge… LeetCode
ArrayHash TableString

Hints

Hint 1
Two words w1 and w2 are similar if and only if w1 == w2, (w1, w2) was a pair, or (w2, w1) was a pair.