Skip to content

Commit 8bb42d1

Browse files
committed
fixup! Add skew heap data structure.
1 parent 35148b8 commit 8bb42d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: data_structures/heap/skew_heap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def merge(
4545

4646
class SkewHeap(Generic[T]):
4747
"""
48-
Data structure that allows to insert a new value and to pop the smallest
48+
A data structure that allows inserting a new value and to pop the smallest
4949
values. Both operations take O(logN) time where N is the size of the structure.
5050
- Wiki: https://en.wikipedia.org/wiki/Skew_heap
5151
- Visualisation: https://www.cs.usfca.edu/~galles/visualization/SkewHeap.html

0 commit comments

Comments
 (0)