C ++ program to find the longest common prefix between two strings after performing swaps on the second string
#include <bits/stdc++.h> NEW_LINE using namespace std ; void LengthLCP ( string x , string y ) { int fr [ 26 ] = { 0 } ;