Alex has stored a 7-character passkey and its prefix function in his device memory. But somehow he lost the first three characters from the string as well as the first four elements of the prefix function. The remaining four characters are and the last three elements of the prefix function are . What are the first three characters of the pass key?
Computer scienceAlgorithms and data structuresAlgorithmsString algorithmsSubstring search algorithms
Calculating prefix function
Prefix function to rescue
Report a typo
Select one option from the list
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.