Skip to content

String Matching Problems

Practice String Matching coding problems with detailed solutions and an in-browser JavaScript runner. Each problem includes examples, constraints, and a working code editor.

2 problems

Title Difficulty
First Occurrence in a String Easy
Longest Happy Prefix Hard