mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-19 00:37:02 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
fc5411cd44
commit
153009ea9e
|
@ -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__":
|
||||
|
|
Loading…
Reference in New Issue
Block a user