Data-Structures-Algorithms-Hacktoberfest-2K19 icon indicating copy to clipboard operation
Data-Structures-Algorithms-Hacktoberfest-2K19 copied to clipboard

Wildcard pattern matching dp c++

Open MarleyKuinn18 opened this issue 5 years ago • 4 comments

MarleyKuinn18 avatar Oct 07 '19 07:10 MarleyKuinn18

TrieImplementation.c doesn't belong to this folder

rathod-sahaab avatar Oct 07 '19 15:10 rathod-sahaab

TrieImplementation.c doesn't belong to this folder

I've deleted the file from that folder

MarleyKuinn18 avatar Oct 08 '19 08:10 MarleyKuinn18

As you're taking std::string as parameters of function don't take 'm' and 'n' assign m and n inside your function. Will make your function invocation smaller.

Taking strings by const reference will improve speed for long strings

rathod-sahaab avatar Oct 08 '19 09:10 rathod-sahaab

I've made the necessary changes to the file.

MarleyKuinn18 avatar Oct 08 '19 13:10 MarleyKuinn18