AdvancedVocabulary#software-architecture#developer-tools#backend

Z-Algorithm Vocabulary

Build fluency in the vocabulary of computing every position's longest prefix match in one linear-time pass.

0 / 5 completed
1 / 5
At standup, a dev mentions computing, for every position in a string, the length of the longest substring starting there that also matches a prefix of the whole string, all in one linear-time pass. What is this algorithm called?