A large feedback has been taken from here.
A large feedback has been taken from here.
Looking for code review, optimizations, best practices.
Also I still get confused with complexity lets say regex string had length of m and string had length of n then it appears the complexity would be O(n! * (n-1)! * ... (n-m)!)
I'm looking for code review, optimizations, best practices. I also still get confused with complexity. Let's say regex string has length of m and string has length of n. Then it appears the complexity would be O(n! * (n-1)! * ... (n-m)!)