Implement placeholder-based pattern matcher | Zillow Interview Question