From baddfe995039d2e3cbfb765bfe25fc8310b0b012 Mon Sep 17 00:00:00 2001 From: Swastika Gupta <64654203+Swastyy@users.noreply.github.com> Date: Sun, 1 Aug 2021 19:44:28 +0530 Subject: [PATCH] Update backtracking/wildcard_matching.cpp Co-authored-by: David Leal --- backtracking/wildcard_matching.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backtracking/wildcard_matching.cpp b/backtracking/wildcard_matching.cpp index efa9cd561..12e6a3ca3 100644 --- a/backtracking/wildcard_matching.cpp +++ b/backtracking/wildcard_matching.cpp @@ -2,8 +2,10 @@ * @file * @brief Implementation of the [Wildcard Matching](https://www.geeksforgeeks.org/wildcard-pattern-matching/) problem. * @details - * Problem Statement: - * Given an matching string and a pattern, implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matches any sequence of characters (including the empty sequence). The matching should cover the entire matching string (not partial). Task is to determine if the pattern matches with the matching string + * Given a matching string and a pattern, implement wildcard pattern + * matching with support for `?` and `*`. `?` matches any single character. + * `*` matches any sequence of characters (including the empty sequence). + * The matching should cover the entire matching string (not partial). The task is to determine if the pattern matches with the matching string * @author [Swastika Gupta](https://github.com/Swastyy) */