Calculating the prefix function

Report a typo

What is the prefix function of a string s=ABRACADABRAs = ABRACADABRA? Print the elements of the prefix function array separated by spaces to the field below.

Enter a short text
___

Create a free account to access the full topic