String matching based on repetition factors: O(n) algorithm using border analysis.

Analyze the string matching based on repetition factors: o(n) algorithm using border analysis..

Examples
Input: "test_input_1"
Output: "output_1"
Hints

String matching based on repetition factors: O(n) algorithm using border analysis.

Analyze the string matching based on repetition factors: o(n) algorithm using border analysis..