Code: Select all
Moderator: Board moderators
Code: Select all
Code: Select all
2
abc
3
a
b
c
abc
3
a
b
d
You are not checking the reverse of the strings. I didn't see this bug in your code earlier.c. Each use of a short string or its reverse would be counted as one occurance of that short string
Code: Select all
1
ab
1
ba
Code: Select all
Code removed