Cocktail shaker sort

id: cocktail-shaker-sort-318-509212
title: Cocktail shaker sort
text: Cocktail shaker sort, also known as bidirectional bubble sort, cocktail sort, shaker sort, ripple sort, shuffle sort, or shuttle sort, is an extension of bubble sort. The algorithm extends bubble sort by operating in two directions. While it improves on bubble sort by more quickly moving items to the beginning of the list, it provides only marginal performance improvements. Like most variants of bubble sort, cocktail shaker sort is used primarily as an educational tool. More performant algorithm
brand slug: wiki
category slug: encyclopedia
description: Sorting algorithm
original url: https://en.wikipedia.org/wiki/Cocktail_shaker_sort
date created:
date modified: 2023-11-25T17:46:11Z
main entity: {"identifier":"Q847294","url":"https://www.wikidata.org/entity/Q847294"}
image: {"content_url":"https://upload.wikimedia.org/wikipedia/commons/e/ef/Sorting_shaker_sort_anim.gif","width":277,"height":257}
fields total: 13
integrity: 15

Related Entries

Explore Next Part