Math, asked by rishavkeshav4189, 1 year ago

find the length of the longest proper prefix which is also a suffix

Answers

Answered by mohdadnansalmapcgpih
0
Input : aabcdaabc
Output : 4

The string "aabc" is the longest prefix which is also suffix.
Similar questions