clang-format and clang-tidy fixes for cae3a923

This commit is contained in:
github-actions 2021-08-01 15:20:15 +00:00
parent cae3a923ad
commit d1f7ae8597

View File

@ -36,7 +36,8 @@ namespace wildcard_matching {
* @returns 1 if pattern matches with matching string otherwise 0
*/
std::vector<std::vector<int64_t>> dpTable(1000, std::vector<int64_t>(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