If you provide the same input for the same implementation, it will produce the same result. This is called "determinism."
, , , (, / bogosort). , (), Heapsort , .
, , . :
. , , . . , : , 5 , , - , .
: , .
" ". . :
Input 1: 2 1 3 5 4 3
Input 2: 5 4 3 2 1 3
:
Result: 1 2 3 3 4 5
, , , 3 ( ).