MilindGupta-Creator / Competitive-Coding-Section

Create sections labbled further in issue section
MIT License
21 stars 71 forks source link

Create Z-Function #81

Open kk0306 opened 2 years ago

MilindGupta-Creator commented 2 years ago

What is Z algorithm used for?

kk0306 commented 2 years ago

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.