737 Sentence Similarity II

https://leetcode.com/problems/sentence-similarity-ii/

solution

  • union find

时间复杂度:O() 空间复杂度:O()

  • dfs

时间复杂度:O() 空间复杂度:O()

Last updated