Sorting algorithms in Python - Shaker Sort example

Опубликовано: 29 Сентябрь 2024
на канале: SIMPLECODE
1,400
10

Another sorting algorithm we`ve done in Python today - Shaker sort. The main idea is this - it`s still kind of a bubble sort, but improved - we`re going with two directions and shrink borders on places of last swap every time.
=====================================
SUBSCRIBE FOR MORE: http://goo.gl/bMexAI
=====================================