Tag: using hashmap and queue