Skip to content

Commit 40213a5

Browse files
authored
Update hilbert_sort.py
1 parent f1365a2 commit 40213a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/hilbert_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import numpy as np
44

55

6-
def hilbert_sort(data: list):
6+
def hilbert_sort(data: list) -> list:
77
"""
88
Imagine you have a bunch of balls, each with a different number on it. To sort the balls, you first throw them up in the air. As each ball falls back down, it follows a unique path based on its number.
99
As the balls fall back down and land, they come to rest at a location in 2D space.

0 commit comments

Comments
 (0)