diff --git a/backtracking/wildcard_matching.cpp b/backtracking/wildcard_matching.cpp index 6418e1e36..36eb2d0f5 100644 --- a/backtracking/wildcard_matching.cpp +++ b/backtracking/wildcard_matching.cpp @@ -36,7 +36,8 @@ namespace wildcard_matching { * @returns 1 if pattern matches with matching string otherwise 0 */ std::vector> dpTable(1000, std::vector(1000, -1)); -uint32_t wildcard_matching(std::string s, std::string p, uint32_t pos1, uint32_t pos2) { +uint32_t wildcard_matching(std::string s, std::string p, uint32_t pos1, + uint32_t pos2) { uint32_t n = s.length(); uint32_t m = p.length(); // matching is successfull if both strings are done