Computer Science, asked by Manivasagam21, 7 months ago

For example: In the word "sample", if we start
with 'p', we get the right rotated word as
"plesam". There are six such right rotations of
"sample" including itself.
The inputs to the function isSameReflection
consists of two strings, word1 and word2.
The function returns 1 if word1 and word2 are
right rotations of the same word and -1 if they
are not. Both word1 and word2 will strictly
contain characters between 'a'-'z (lower case
letters).
Useful commands:
strlen() is used to calculate the​

Answers

Answered by ojhavivek484
3

Answer:

  • please give me a call from you
Answered by reddykrishna76028
0

ask this question in google or Bing you will definitely get the answer please mark as brainliest

Similar questions