Computer Science, asked by Pogo4454, 9 months ago

Give a linear time algo to determine if a text t is a cycle rotation

Answers

Answered by RewelDeepak
0

Explanation:

Algorithm: areRotations(str1, str2) 1. Create a temp ... If str2 is a substring of temp then str1 and str2 are rotations of each other. ... C++ program to check if two given

Similar questions