Added one more test case

This commit is contained in:
Breno Baptista
2021-12-20 20:48:19 -03:00
parent 2bd5b2ef93
commit 24a8bbfa66

View File

@ -33,6 +33,11 @@ func Test_Problem14(t *testing.T) {
para14{[]string{"dog", "racecar", "car"}}, para14{[]string{"dog", "racecar", "car"}},
ans14{""}, ans14{""},
}, },
{
para14{[]string{"ab", "a"}},
ans14{"a"},
},
} }
fmt.Printf("------------------------Leetcode Problem 14------------------------\n") fmt.Printf("------------------------Leetcode Problem 14------------------------\n")