added sorting exercise
This commit is contained in:
9
loops/sort/sort.py
Normal file
9
loops/sort/sort.py
Normal file
@ -0,0 +1,9 @@
|
||||
from typing import Iterator, Optional
|
||||
|
||||
|
||||
def selection_sort[T](xs: Iterator[T]) -> Iterator[T]:
|
||||
return []
|
||||
|
||||
|
||||
def binary_search[T](xs: list[T], value: T) -> Optional[int]:
|
||||
return None
|
Reference in New Issue
Block a user