Sorting a Linked List with Bubble Sort in C

Published: 19 March 2021
on channel: Eric O Meehan
3,189
38

Allowing the user to pass a function to a function so that it can cast and compare the void pointers in a Linked List to be sorted.

Source code available on GitHub:
https://github.com/ericomeehan/libeom...

Join our Discord:
  / discord  

Earlier this week, I presented a challenge to implement a sorting and searching algorithm for the Linked List. As an example, I've implemented bubble sort here to demonstrate using function pointers; however, bubble sort is an inefficient algorithm with an efficiency of ~On^2.


Watch video Sorting a Linked List with Bubble Sort in C online without registration, duration hours minute second in high quality. This video was added by user Eric O Meehan 19 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,189 once and liked it 38 people.