现在的位置: 首页 > 综合 > 正文

Gnome sort

2013年08月06日 ⁄ 综合 ⁄ 共 1386字 ⁄ 字号 评论关闭

类别:排序-交换排序
参看 维基百科的定义

 

Gnome sort
is a sorting algorithm which is similar to insertion sort, except that moving an element to its proper place is accomplished by a series of swaps, as in bubble sort. The name comes from the supposed behavior of the Dutch garden gnome in sorting a line of flowerpots and is described on Dick Grune's Gnome sort page.

 


抱歉!评论已关闭.