Tag: sorting algorithms

  • Bubble sort

    Bubble sort

    The Bubble sort is the simplest algorithm to sort arrays. The goal is to sort a list of elements in the order that we need, comparing a pair of adjacent elements and perform a swap of these elements if they are in the wrong order (the most of the time is the ascending order).