Skip to content

Commit 2cf0009

Browse files
authored
Update rotate-string.cpp
1 parent 85e87d5 commit 2cf0009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/rotate-string.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Time: O(n )
1+
// Time: O(n)
22
// Space: O(1)
33

44
// Rabin-Karp Algorithm (rolling hash)

0 commit comments

Comments
 (0)