Competitive-Coding-Section icon indicating copy to clipboard operation
Competitive-Coding-Section copied to clipboard

Create Z-Function

Open kk0306 opened this issue 3 years ago • 2 comments

kk0306 avatar Oct 02 '22 16:10 kk0306

What is Z algorithm used for?

MilindGupta-Creator avatar Oct 03 '22 10:10 MilindGupta-Creator

Z algorithm is a linear time string matching algorithm which runs in complexity. It is used to find all occurrence of a pattern in a string , which is common string searching problem.

kk0306 avatar Oct 04 '22 08:10 kk0306