Bubble sort is a simple sorting algorithm that repeatedly steps through a list, compares adjacent elements, and swaps them if they are in the wrong order. Learn all about what makes it tick and why we probably don't want to use it for larger datasets.
-------
📄 Read the article: https://www.kirupa.com/sorts/bubbleso...
📙 Check out my Algorithms book: https://www.amazon.com/exec/obidos/AS...
🗞️ Sign-up to the newsletter: https://www.kirupa.chat
❓ Ask a question: https://forum.kirupa.com
-------
#javascript #algorithms #datasorting