- Quiz
- Test Cases
- Solution
- Solution 1
- Solution 2
Test Case 1
Input
str1 = "abc", str2 = "yabd"
Output
2
Test Case 2
Input
str1 = "abc", str2 = "abc"
Output
0
Test Case 3
Input
str1 = "", str2 = ""
Output
0
Test Case 4
Input
str1 = "abc", str2 = ""
Output
3
Test Case 5
Input
str1 = "abc", str2 = "cba"
Output
2
- My Answer
- Lecture
- Output