Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

cocktail shaker sort

You are here: irt.org | FOLDOC | cocktail shaker sort

<algorithm> A bi-directional bubble sort. Passes alternate between ascending through array indexes, pushing the largest item to the bottom; and descending through array indexes, pushing the smallest item to the top.

[Performace vs plain bubble?]


Nearby terms: COBRA « cobwebsite « Cocktail « cocktail shaker sort » CoCo » Cocol » Coco Language

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb