Bubble Sort in JavaScript
Here I am solving a problem with nested loops
// 1. Create nested loop to compare each element with the next element
// 2. Compare each element with next one and if next element is smaller then previous one, swap them
// 3. Repeat step 2 until the e...
coding.sohail.blog1 min read