mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-31 14:43:43 +00:00
Update quantum_bogo_sort.py to include a reference to a wiki page
This commit is contained in:
parent
3064dd13a1
commit
fc5411cd44
|
@ -5,6 +5,9 @@ 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.
|
Quantum Bogo Sort is a theoretical sorting algorithm that uses quantum mechanics to sort the elements.
|
||||||
It is not practically feasible and is included here for humor.
|
It is not practically feasible and is included here for humor.
|
||||||
|
|
||||||
|
Reference:
|
||||||
|
https://en.wikipedia.org/wiki/Bogosort#:~:text=achieve%20massive%20complexity.-,Quantum%20bogosort,-A%20hypothetical%20sorting
|
||||||
|
|
||||||
:param arr: List[int] - The list of numbers to sort.
|
:param arr: List[int] - The list of numbers to sort.
|
||||||
:return: List[int] - The sorted list, humorously assumed to be instantly sorted using quantum superposition.
|
:return: List[int] - The sorted list, humorously assumed to be instantly sorted using quantum superposition.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user