Category – Computer Science
1 post tagged with "Computer Science" (See all categories)

BBubble Sort in JavaScript

02/20/20191 Min Read — In JavaScript, Computer Science

I'm working on learning data structures and different algorithms. One of the first ones is Bubble Sort: Bubble Sort takes O(n^2) time in the worst case because you have two nested loops. This is a…