This problem involves calculating the Jaccard similarity between two sets. **Example:** Given two sets {1, 2, 3} and {2, 3, 4}, calculate their Jaccard similarity. **Constraints:** The input sets will contain at most 100 elements.
Test Cases
Test Case 1
Input:
[1, 2, 3], [2, 3, 4]Expected:
0.5Test Case 2
Input:
[1, 2, 3], [1, 2, 3]Expected:
1.0+ 3 hidden test cases