Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 64598d6

Browse files
special subsequence problem
1 parent 5f246bc commit 64598d6

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

‎Dynamic Programming/LongestRepeatedSubstring.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ string LongestRepeatedSubstr(string s)
5050

5151
int main()
5252
{
53-
string str = "abcpqrabpqpq";
53+
string str = "geeksforgeeks";
5454

5555
cout<<LongestRepeatedSubstr(str);
5656
return 0;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include<iostream>
2+
#include<vector>
3+
4+
5+
using namespace std;

‎General Programs/ArrayRotation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ void RotateEffi(int arr[],int d,int n)
112112
}
113113
//T(n) = O(n*d)
114114

115+
rotate()
115116
int main()
116117
{
117118
int arr[] = {1,2,3,4,5,6,7};

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /