Only 2nd string has wildcard characters


#1

The Question didnot mention that “Only 2nd string has wildcard characters”

for reference check