Provide solution for problem no. 44 on Leetcode Wildcard Matching: https://leetcode.com/problems/wildcard-matching/