JavaScript:实现Stooge Sort臭皮匠排序算法
/*
* Stooge Sort sorts an array based on divide and conquer principle
* note the exceptionally bad time complexity
*
*/
export function stoogeSort (items, leftEnd, rightEnd) {
if (items[rightEnd -
/*
* Stooge Sort sorts an array based on divide and conquer principle
* note the exceptionally bad time complexity
*
*/
export function stoogeSort (items, leftEnd, rightEnd) {
if (items[rightEnd -