String Matching Coding Problems

Pattern matching algorithms

37
Total Problems
10
Easy
11
Medium
16
Hard
Start Practicing
ABCDEFGHCDE

Master DSA Topics - January, 2026

Practice problems across 75+ categories

String Matching Coding Problems

Practice problems frequently asked at String Matching 37 problems | 10 Easy | 11 Medium | 16 Hard

# Problem Difficulty Topics
1 Add Bold Tag in String Medium
ArrayHash TableString
2 Bold Words in String Medium
ArrayHash TableString
3 Camelcase Matching Medium
ArrayTwo PointersString
4 Check If a Word Occurs As a Prefix of Any Word in a Sentence Easy
Two PointersStringString Matching
5 Count Cells in Overlapping Horizontal and Vertical Substrings Medium
ArrayStringRolling Hash
6 Count Prefix and Suffix Pairs I Easy
ArrayStringTrie
7 Count Prefix and Suffix Pairs II Hard
ArrayStringTrie
8 Counting Words With a Given Prefix Easy
ArrayStringString Matching
9 Find All Good Strings Hard
StringDynamic ProgrammingString Matching
10 Find Beautiful Indices in the Given Array I Medium
Two PointersStringBinary Search
11 Find Beautiful Indices in the Given Array II Hard
Two PointersStringBinary Search
12 Find Pattern in Infinite Stream I Medium
ArraySliding WindowRolling Hash
13 Find Pattern in Infinite Stream II Hard
ArraySliding WindowRolling Hash
14 Find the Index of the First Occurrence in a String Easy
Two PointersStringString Matching
15 Find the Occurrence of First Almost Equal Substring Hard
StringString Matching
Showing 1-15 of 37
1 2 3

Tutorials Library

Master any technology with our largest free online Library. Browse through 500+ tutorials across 10+ categories.

Python

Python Tutorial

Java

Java Tutorial

JavaScript

JavaScript

C++

C++ Tutorial

C#

C# Tutorial

Go

Go Tutorial

Rust

Rust Tutorial

TypeScript

TypeScript

Swift

Swift Tutorial

Kotlin

Kotlin Tutorial

Ruby

Ruby Tutorial

PHP

PHP Tutorial

C

C Tutorial

Scala

Scala Tutorial

Perl

Perl Tutorial

R

R Tutorial

Dart

Dart Tutorial

Lua

Lua Tutorial

MATLAB

MATLAB

Haskell

Haskell

Developer Toolbox

Powerful online tools to boost your productivity

public class MyFirstJavaProgram { Edit & Run

   /* This is my first java program.
    * This will print 'Hello, World!' as the output
    */

   public static void main(String []args) {
      System.out.println("Hello, World!"); // prints
   }
}

Start Coding in Seconds

Coding Ground For Developers

Code, Edit, Run and Share

Ignite your coding potential on Coding Ground - an immersive online platform for hands-on learning, collaboration, and skill development.