{"id":"intersect-ii-counter-decrement-streams-nums2","text":"`intersect` builds a Counter from `nums1` only, then consumes `nums2` in a single pass — only `nums1` must fit in memory, making this suitable for streaming `nums2` from disk.","truth_value":"IN","source":"entries/2026/06/06/intersection-of-two-arrays-ii-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"intersect-ii-counter-decrement-streams-nums2","truth_value":"IN","reason":"premise"}]}}