[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-13 10:43:04 +00:00
parent fc5411cd44
commit 153009ea9e

View File

@ -1,5 +1,6 @@
from typing import List
def quantum_bogo_sort(arr: List[int]) -> List[int]:
"""
Quantum Bogo Sort is a theoretical sorting algorithm that uses quantum mechanics to sort the elements.
@ -24,7 +25,9 @@ def quantum_bogo_sort(arr: List[int]) -> List[int]:
>>> quantum_bogo_sort([])
[]
"""
return sorted(arr) # Sorting is assumed to be done instantly via quantum superposition
return sorted(
arr
) # Sorting is assumed to be done instantly via quantum superposition
if __name__ == "__main__":