Pattern Matching with Wildcard

Company: TSMC

Difficulty: medium