Model answer
Count each character in the first string and subtract counts while scanning the second; all final counts must be zero and lengths must match. With a fixed alphabet this is O(n) time and O(1) alphabet-sized space.
Use the key terms, then explain the reasoning.