Did you think of the scenario where both the strings passed are the same? Try it out.