Please explain the A* algorithm and it's runtime complexity in relation to the input size n.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence