English, asked by skselva, 1 year ago

a thing which rotates (in palindrome words)​

Answers

Answered by harmankaur46
3

Answer:

hi

just follow

hope it helps

Answered by za6715
10

Answer:

ICheck if a given string is a rotation of a palindrome

Given a string, check if it is a rotation of a palindrome. For example your function should return true for “aab” as it is a rotation of “aba”.

Examples:

Input: str = "aaaad"

Output: 1

// "aaaad" is a rotation of a palindrome "aadaa"

Input: str = "abcd"

Output: 0

// "abcd" is not a rotation of any palindrome.

Similar questions