Spring Hire Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
08
:
04
:
52
:
59
Back to Dashboard
Jaccard Word Similarity
Easy
Given two document title strings doc1 and doc2, compute their word-level Jaccard similarity. Split each title into words by spaces and treat each title as a set of distinct words (case-sensitive). Return the similarity score rounded to 2 decimal places.
Jaccard similarity = |intersection| / |union| ...