3083. Existence of a Substring in a String and Its Reverse
Given a string
s, find any substring of length2which is also present in the reverse ofs.Return
trueif such a substring exists, andfalseotherwise.
1 | class Solution { |
3083. Existence of a Substring in a String and Its Reverse
Given a string
s, find any substring of length2which is also present in the reverse ofs.Return
trueif such a substring exists, andfalseotherwise.
1 | class Solution { |