File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ def smoothsort(seq: list[int]) -> list[int]:
160160 heap_sizes : list [int ] = []
161161
162162 # ------------------------------------------------------------------
163- # Phase 1 – Build the Leonardo heap forest over seq[0..n-1].
163+ # Phase 1 : Build the Leonardo heap forest over seq[0..n-1].
164164 # ------------------------------------------------------------------
165165 for i in range (n ):
166166 # If the two rightmost trees have consecutive orders, merge them.
@@ -175,7 +175,7 @@ def smoothsort(seq: list[int]) -> list[int]:
175175 _trinkle (seq , i , heap_sizes , len (heap_sizes ) - 1 )
176176
177177 # ------------------------------------------------------------------
178- # Phase 2 – Extract maximum elements right-to-left.
178+ # Phase 2 : Extract maximum elements right-to-left.
179179 # ------------------------------------------------------------------
180180 for i in range (n - 1 , - 1 , - 1 ):
181181 order = heap_sizes .pop ()
You can’t perform that action at this time.
0 commit comments