Skip to content

Commit 64598d6

Browse files
committed
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

+1-1
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;
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

+1
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)