{"id":"counter-zero-default-for-missing-keys","text":"Frequency-comparison solutions rely on `Counter.__getitem__` returning 0 for absent keys, allowing direct subtraction (`freq1[c] - freq2[c]`) without `.get()` or `defaultdict`.","truth_value":"IN","source":"entries/2026/06/06/check-whether-two-strings-are-almost-equivalent-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"counter-zero-default-for-missing-keys","truth_value":"IN","reason":"premise"}]}}