Cocktail Twister Sort is a sorting algorithm I've made after seeing how to improve upon Cocktail Shaker Sort while still retaining most of the core logic. Instead of just 1 forward and backward pass ...
void swap_node_ahead(listint_t **list, listint_t **tail, listint_t **shaker); void swap_node_behind(listint_t **list, listint_t **tail, listint_t **shaker); void ...