mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
fix: no implicit optional (#7984)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import operator
|
||||
|
||||
|
||||
def strand_sort(arr: list, reverse: bool = False, solution: list = None) -> list:
|
||||
def strand_sort(arr: list, reverse: bool = False, solution: list | None = None) -> list:
|
||||
"""
|
||||
Strand sort implementation
|
||||
source: https://en.wikipedia.org/wiki/Strand_sort
|
||||
|
Reference in New Issue
Block a user