Ezvor

2728. Count Houses in a Circular Street

EasyArray Preparing judge… LeetCode
ArrayInteractive

Hints

Hint 1
Close the door of k houses moving in one direction.
Hint 2
Open the door of the current house.
Hint 3
Move in one direction and count until you reach the house with the open door.