Question: Let us say that a list ( or string ) matches an input pattern ( another list or string ) if the pattern is at

Let us say that a list (or string) matches an input pattern (another list or string) if the pattern is at least as long as the list (or string) and for every non-wildcard item in the pattern the list (or string) has the same item in the same position. (in this example, the wildcard item is ?.) For example, New York matches New ?????? where ? is the wildcard. Also, New Jersey matches New ?????? where ? is the wildcard. But, New York does not match New Hamp????

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!