We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08fa4a9 commit bfee1bbCopy full SHA for bfee1bb
src/main/java/com/thealgorithms/strings/StringRotation.java
@@ -1,13 +1,9 @@
1
package com.thealgorithms.strings;
2
3
-/**
4
- * Checks if one string is a rotation of another string.
5
- */
6
public class StringRotation {
7
8
/**
9
- * Checks if str2 is a rotation of str1.
10
- *
+ * Checks if str2 is a rotation of str1
11
* @param str1 Original string
12
* @param str2 String to check for rotation
13
* @return true if str2 is a rotation of str1, false otherwise
0 commit comments