Prep
Code
Questions
Roadmap
CSES Set
Patterns & Comp
Companies
Profile
Sign In
Create Account
Home
Topics
Knuth Morris Pratt Algorithm
Knuth Morris Pratt Algorithm
9 problems
Algorithms pattern questions across top companies
All
Unsolved
Solved
Starred
Table
Topics
Filters
Timeframe:
All Time
9
Last 30 Days
1
Last 3 Months
3
Last 6 Months
4
> 6 Months
7
Showing
9
questions
#28
Find the Index of the First Occurrence in a String
Easy
two pointers
WalkCCC
Amazon
Apple
Bloomberg
#214
Shortest Palindrome
Hard
string
WalkCCC
Accenture
Amazon
Bloomberg
#459
Repeated Substring Pattern
Easy
string
WalkCCC
Amazon
Bloomberg
Google
#686
Repeated String Match
Medium
string
WalkCCC
Amazon
Bloomberg
Google
#1392
Longest Happy Prefix
Hard
string
WalkCCC
Amazon
Apple
Google
#1764
Form Array by Concatenating Subarrays of Another Array
Medium
array
WalkCCC
Amazon
#2223
Sum of Scores of Built Strings
Hard
string
WalkCCC
Amazon
Google
#3303
Find the Occurrence of First Almost Equal Substring
Hard
string
WalkCCC
Google
#3006
Find Beautiful Indices in the Given Array I
Medium
two pointers
WalkCCC
Bloomberg
Google
Microsoft