Combinatorica`
Combinatorica`
SelectionSort
SelectionSort[l,f]
sorts list l using ordering function f.
更多信息和选项
- To use SelectionSort, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
SelectionSort[l,f]
sorts list l using ordering function f.