{"id":"island-perimeter-single-pass","text":"The island perimeter algorithm computes the result in a single row-major scan with no auxiliary data structures, running in O(rows × cols) time and O(1) extra space.","truth_value":"IN","source":"entries/2026/06/06/island-perimeter-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"island-perimeter-single-pass","truth_value":"IN","reason":"premise"}]}}