How would you solve a phone number matching problem using a hash map approach?
Write a function that receives two lists, contacts and queries, and returns the matching contact names for each query phone number. Each contact is a pair [name, phone_number], and each query is a phone number string. If a query has no match, return None for that position.
def match_phone_numbers(contacts, queries):
Return a list of names or None values in the same order as queries.
def match_phone_numbers(contacts, queries):