Naive sort algorithms in JavaScript: Bubble sort

added by JavaScript Kicks
9/16/2019 7:22:09 AM

563 Views

A naïve sort, also known as "brute force" or "generate and test," is a sorting algorithm that generates all the possible permutations of a list, and then tests each permutation until one is found that is correctly sorted. The number of permutations of a list is n!


0 comments