Skip to content

String Rotation #12

Description

@ChillBroYo

Create the method isSubstring in which it checks if one word is the substring of the other. Now write a method to see if one string is the rotation of the other (a rotation meaning "banana" ==> "nabana", which is a rotation to the right by 2) by using only one method call to isSubstring

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions