{"id":"check-double-linear-complexity","text":"`checkIfExist` runs in O(n) time and O(n) space via single-pass iteration with hash set lookups","truth_value":"IN","source":"entries/2026/06/06/check-if-n-and-its-double-exist-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"check-double-linear-complexity","truth_value":"IN","reason":"premise"}]}}