Skip to content

Commit e2900a0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8ed3e47 commit e2900a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: searches/reservoir_sampling.py

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import random
1616

17+
1718
def reservoir_sampling(stream, k):
1819
"""
1920
Performs reservoir sampling on a stream of items.

0 commit comments

Comments
 (0)