- Time : O(nm)
- Space : O(1)
c++
1 | int Solution::isMatch(const string A, const string B) { |