6. Smallest Super-Sequence #
Created Sunday 19 July 2020
// main
#include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
#include "solution.h"
int main()
{
char str1[50], str2[50];
cin>>str1;
cin>>str2;
int len1 = strlen(str1);
int len2 = strlen(str2);
int min_len = smallestSuperSequence(str1, len1, str2, len2);
cout<<min_len;
return 0;
}
// your code
int smallestSuperSequence(char str1[], int len1, char str2[], int len2) {
/* Don't write main().
Don't read input, it is passed as function argument.
Return output and don't print it.
Taking input and printing output is handled automatically.
*/
}