Search⌘ K
AI Features

DIY: Wildcard Matching

Understand how to implement a wildcard matching function that supports both ? and * characters to match entire input strings. Learn to handle pattern matching effectively for strings, a fundamental skill for solving operating system problems and coding interviews.

Problem statement

You will be given an input string s and a pattern p. You will have to implement wildcard pattern matching with support for ? and * where:

...