Skip to content

Commit 66670c6

Browse files
Update algorithms/intervals/meeting_rooms/__init__.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 6b61da8 commit 66670c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

algorithms/intervals/meeting_rooms/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def most_booked(meetings: List[List[int]], rooms: int) -> int:
7575
counter = [0] * rooms
7676
# Min heap to keep track of free rooms
7777
available = [i for i in range(rooms)]
78-
# Min hip for rooms currently in use
78+
# Min heap for rooms currently in use
7979
used_rooms: List[Tuple[int, int]] = []
8080

8181
# Sort the meetings by their start times to process them in chronological order. This uses additional space as we

0 commit comments

Comments
 (0)