Available question text
Given a circular street represented by an array of houses, count how many houses satisfy a local property that depends on their neighbors (e.g., empty/available, isolated, or collectible). The core challenge is correctly handling circular adjacency (wrap-around) and evaluating the local predicate for each house, typically achievable in a single O(n) pass.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Apple
Leetcode 2728. Count Houses in a Circular Street
Reported Sep 13, 2024 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source