Problem 3083 · Easy

Existence of a Substring in a String and Its Reverse

Check whether some two-letter substring of s appears reversed somewhere in s.

Open the interactive visualisation